add /auth and try again
This commit is contained in:
parent
bc3441d890
commit
d18cc551b2
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user