nginx reverse proxy for api and console port
This commit is contained in:
@@ -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