mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-15 21:36:51 +00:00
13 lines
235 B
TypeScript
13 lines
235 B
TypeScript
import * as api from "./base";
|
|
|
|
export async function getUpstreamNginxConfig(
|
|
id: number,
|
|
params = {},
|
|
): Promise<string> {
|
|
const { result } = await api.get({
|
|
url: `/upstreams/${id}/nginx-config`,
|
|
params,
|
|
});
|
|
return result;
|
|
}
|