ingress-proxy: fix

This commit is contained in:
41666 2023-12-29 21:21:38 -05:00
parent b7aba3c963
commit b7acc4b5af

View file

@ -28,12 +28,12 @@ in {
#forceSSL = true; #forceSSL = true;
#enableACME = true; #enableACME = true;
listen = [ #listen = [
{ addr = "0.0.0.0"; port = 443; ssl = true; } # { addr = "0.0.0.0"; port = 443; ssl = true; }
{ addr = "[::]"; port = 443; ssl = true; } # { addr = "[::]"; port = 443; ssl = true; }
{ addr = "0.0.0.0"; port = 8448; ssl = true; } # { addr = "0.0.0.0"; port = 8448; ssl = true; }
{ addr = "[::]"; port = 8448; ssl = true; } # { addr = "[::]"; port = 8448; ssl = true; }
]; #];
locations."/_matrix/" = { locations."/_matrix/" = {
proxyPass = "http://mango"; proxyPass = "http://mango";
@ -51,8 +51,8 @@ in {
# Generic store for /.well-known/ paths. # Generic store for /.well-known/ paths.
"well-known.sapphic.engineer" = { "well-known.sapphic.engineer" = {
#forceSSL = true; forceSSL = true;
#enableACME = true; enableACME = true;
locations."=/.well-known/matrix/server" = let locations."=/.well-known/matrix/server" = let
alias = pkgs.writeText "well-known-matrix-server" (builtins.toJSON { alias = pkgs.writeText "well-known-matrix-server" (builtins.toJSON {