fix nginx matrix config

This commit is contained in:
Dmitriy Kholkin 2022-12-07 02:28:00 +03:00
parent e1f4bca6c8
commit 7609b70840

View File

@ -116,7 +116,13 @@
'' + proxySettings;
};
} // default;
"matrix:8448" = {
"matrix:8448" = let
certName = default.useACMEHost;
in with config.security.acme; {
onlySSL = true;
sslCertificate = "${certs.${certName}.directory}/fullchain.pem";
sslCertificateKey = "${certs.${certName}.directory}/key.pem";
sslTrustedCertificate = "${certs.${certName}.directory}/chain.pem";
serverAliases = [ "matrix.ataraxiadev.com" ];
listen = [{
addr = "0.0.0.0";
@ -127,7 +133,7 @@
proxyPass = "http://matrix.pve:8449";
extraConfig = proxySettings;
};
} // default;
};
"startpage.ataraxiadev.com" = {
locations."/" = {
root = "/srv/http/startpage.ataraxiadev.com/";