fix nginx matrix config
This commit is contained in:
parent
e1f4bca6c8
commit
7609b70840
@ -116,7 +116,13 @@
|
|||||||
'' + proxySettings;
|
'' + proxySettings;
|
||||||
};
|
};
|
||||||
} // default;
|
} // 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" ];
|
serverAliases = [ "matrix.ataraxiadev.com" ];
|
||||||
listen = [{
|
listen = [{
|
||||||
addr = "0.0.0.0";
|
addr = "0.0.0.0";
|
||||||
@ -127,7 +133,7 @@
|
|||||||
proxyPass = "http://matrix.pve:8449";
|
proxyPass = "http://matrix.pve:8449";
|
||||||
extraConfig = proxySettings;
|
extraConfig = proxySettings;
|
||||||
};
|
};
|
||||||
} // default;
|
};
|
||||||
"startpage.ataraxiadev.com" = {
|
"startpage.ataraxiadev.com" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = "/srv/http/startpage.ataraxiadev.com/";
|
root = "/srv/http/startpage.ataraxiadev.com/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user