nginx reverse proxy for api and console port

This commit is contained in:
RoyDumblauskas committed 2025-06-12 15:56:47 -05:00
1 parent 0e8e9afbba
commit c76719df30
3 files changed
+28 -2

No files matched your search

+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}";
};
};
};