diff --git a/conf/endpoint.nginx.conf b/conf/endpoint.nginx.conf index 3963200..c034595 100644 --- a/conf/endpoint.nginx.conf +++ b/conf/endpoint.nginx.conf @@ -1,10 +1,13 @@ location /_synapse/admin { + proxy_pass http://127.0.0.1:__SYNAPSE_PORT__; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $host; client_max_body_size 100M; + + proxy_http_version 1.1; - more_set_headers "Access-Control-Allow-Origin: __DOMAIN__"; + more_set_headers "Access-Control-Allow-Origin: https://__DOMAIN__"; }