nginx reverse proxy for api and console port
This commit is contained in:
1 parent
0e8e9afbba
commit
c76719df30
3 files changed
+28
-2
No files matched your search
@@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user