fix nginx matrix config
This commit is contained in:
parent
e1f4bca6c8
commit
7609b70840
@ -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/";
|
||||
|
Loading…
x
Reference in New Issue
Block a user