nginx reverse proxy for api and console port

This commit is contained in:
2025-06-12 15:56:47 -05:00
parent 0e8e9afbba
commit c76719df30
3 changed files with 28 additions and 2 deletions
+4 -1
View File
@@ -87,7 +87,10 @@
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${toString opts.port}";
proxyPass = "http://localhost:${toString opts.dataPort}";
};
locations."/console" = {
proxyPass = "https://localhost:${toString opts.consolePort}";
};
};
};