Bläddra i källkod
add timeout param for nginx proxy
default value matrix_nginx_proxy_request_timeout is 60s
pull/1265/head
sakkiii
4 år sedan
committed by
GitHub
förälder
incheckning
63653bb4ad
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med
5 tillägg och
0 borttagningar
-
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2
|
|
|
@@ -42,6 +42,11 @@ http { |
|
|
|
{% else %} |
|
|
|
access_log off; |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
proxy_connect_timeout {{ matrix_nginx_proxy_request_timeout }}; |
|
|
|
proxy_send_timeout {{ matrix_nginx_proxy_request_timeout }}; |
|
|
|
proxy_read_timeout {{ matrix_nginx_proxy_request_timeout }}; |
|
|
|
send_timeout {{ matrix_nginx_proxy_request_timeout }}; |
|
|
|
|
|
|
|
sendfile on; |
|
|
|
#tcp_nopush on; |
|
|
|
|