Compare commits

..

2 commits

Author SHA1 Message Date
Lillian Violet 05fc4b8e28 Maybe disabling this will help? 2024-05-10 00:27:22 +02:00
Lillian Violet c802a38b91 That didn't work, no clue tbh 2024-05-10 00:25:11 +02:00

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 = true; recommendedProxySettings = false;
virtualHosts = { virtualHosts = {
"${server_name}" = { "${server_name}" = {
@ -123,9 +123,10 @@ 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;