Compare commits

..

No commits in common. "05fc4b8e28d84719115493b49e72e5085d8bffa6" and "6bd990c51b3de676968997e048531f8866ea4a38" have entirely different histories.

View file

@ -63,7 +63,7 @@ in {
# Configure NGINX as a reverse proxy # Configure NGINX as a reverse proxy
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedProxySettings = false; recommendedProxySettings = true;
virtualHosts = { virtualHosts = {
"${server_name}" = { "${server_name}" = {
@ -123,10 +123,9 @@ in {
add_header Access-Control-Allow-Origin "*"; add_header Access-Control-Allow-Origin "*";
''; '';
}; };
locations."/_matrix/client/unstable/org.matrix.msc3575/sync" = { locations."~ ^(/_matrix/client/unstable/org.matrix.msc3575/sync)" = {
proxyPass = "http://backend_conduit/client/unstable/org.matrix.msc3575/sync"; proxyPass = "http://backend_conduit/client/unstable/org.matrix.msc3575/sync";
proxyWebsockets = true; proxyWebsockets = true;
recommendedProxySettings = false;
extraConfig = '' extraConfig = ''
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_buffering off; proxy_buffering off;