Преглед на файлове
add timeout param for nginx proxy
default value matrix_nginx_proxy_request_timeout is 60s
pull/1265/head
sakkiii
преди 5 години
committed by
GitHub
родител
ревизия
63653bb4ad
No known key found for this signature in database
GPG ключ ID: 4AEE18F83AFDEB23
променени са
1 файла, в които са
добавени 5 реда и са
изтрити 0 реда
-
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; |
|
|
|
|