envsdotnet-matrix-conf/etc/nginx/include.d/synapse-proxy.conf
2021-08-01 14:34:00 +02:00

15 lines
362 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 360;
proxy_read_timeout 600;
proxy_send_timeout 600;
#proxy_buffering off;
proxy_buffers 8 16k;
proxy_buffer_size 32k;