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