add /auth and try again

This commit is contained in:
Tony Boston 2021-10-16 18:24:54 +02:00
parent bc3441d890
commit d18cc551b2
1 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,7 @@ in
networking.defaultGateway = "172.20.73.1";
# http https
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedTCPPorts = [ 77 443 ];
services.nginx = {
enable = true;
@ -21,7 +21,11 @@ in
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "https://localhost:8446";
proxyPass = "https://localhost:8443";
# proxyWebsockets = true;
};
locations."/auth" = {
proxyPass = "https://localhost:8443/auth";
# proxyWebsockets = true;
};
};