ingress-proxy: fix
This commit is contained in:
parent
b7aba3c963
commit
b7acc4b5af
1 changed files with 8 additions and 8 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue