diff --git a/roles/reverse-proxy/templates/reverse-proxy.conf b/roles/reverse-proxy/templates/reverse-proxy.conf index d956bc3..3bda6af 100644 --- a/roles/reverse-proxy/templates/reverse-proxy.conf +++ b/roles/reverse-proxy/templates/reverse-proxy.conf @@ -85,7 +85,7 @@ server { server_name etebase.{{ domain }}; - location ~ ^/(?!admin) { + location / { proxy_pass http://127.0.0.1:{{ ports['etebase'] }}; } } @@ -135,17 +135,13 @@ server { server_name matrix.{{ domain }}; - location ~ ^(/_matrix|/_synapse/client) { + location / { proxy_pass http://127.0.0.1:{{ ports['synapse'] }}; # Nginx by default only allows file uploads up to 1M in size # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml client_max_body_size {{ synapse['max_upload_size'] }}; } - - location / { - return 308 https://element.{{ domain }}/; - } }