mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 03:51:27 +00:00
Fixed nginx config validator exception
This commit is contained in:
parent
319234703a
commit
e94a10a4c1
20
nixos-infect
20
nixos-infect
|
@ -400,26 +400,6 @@ EOF
|
|||
};
|
||||
};
|
||||
};
|
||||
"chat.$DOMAIN" = {
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/$DOMAIN/fullchain.pem";
|
||||
sslCertificateKey = "/var/lib/acme/$DOMAIN/key.pem";
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "https://127.0.0.1:8448";
|
||||
};
|
||||
"/_matrix" = {
|
||||
proxyPass = "https://127.0.0.1:8448";
|
||||
extraConfig = ''
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
'';
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
proxy_ssl_server_name on;
|
||||
proxy_pass_header Authorization;
|
||||
'';
|
||||
};
|
||||
"social.$DOMAIN" = {
|
||||
sslCertificate = "/var/lib/acme/$DOMAIN/fullchain.pem";
|
||||
sslCertificateKey = "/var/lib/acme/$DOMAIN/key.pem";
|
||||
|
|
Loading…
Reference in a new issue