envsdotnet-matrix-conf/etc/nginx/include.d/synapse-proxy.conf

15 lines
362 B
Plaintext
Raw Normal View History

2021-08-01 08:34:00 -04:00
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 360;
proxy_read_timeout 600;
proxy_send_timeout 600;
#proxy_buffering off;
proxy_buffers 8 16k;
proxy_buffer_size 32k;