Skip to content
Snippets Groups Projects
Unverified Commit 391bedda authored by Charles Hall's avatar Charles Hall
Browse files

fix nix docs

I made some silly copy paste errors while writing this...
parent 19156c7b
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ # Configure NGINX as a reverse proxy
recommendedProxySettings = true;
virtualHosts = {
"${server_name}" = {
"${matrix_hostname}" = {
forceSSL = true;
enableACME = true;
......@@ -124,14 +124,6 @@ # Configure NGINX as a reverse proxy
}
];
extraConfig = ''
merge_slashes off;
'';
"${matrix_hostname}" = {
forceSSL = true;
enableACME = true;
locations."/_matrix/" = {
proxyPass = "http://backend_conduit$request_uri";
proxyWebsockets = true;
......@@ -141,6 +133,15 @@ # Configure NGINX as a reverse proxy
'';
};
extraConfig = ''
merge_slashes off;
'';
};
"${server_name}" = {
forceSSL = true;
enableACME = true;
locations."=/.well-known/matrix/server" = {
# Use the contents of the derivation built previously
alias = "${well_known_server}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment