envsdotnet-matrix-conf/etc/nginx/include.d/synapse-proxy.conf
2022-01-05 15:43:39 +01:00

15 lines
364 B
Plaintext

proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
port_in_redirect off;
proxy_redirect off;
proxy_connect_timeout 3600;
proxy_read_timeout 3600;
proxy_send_timeout 3600;
proxy_buffering off;
proxy_buffers 8 16k;
proxy_buffer_size 32k;