소스 검색
add timeout param for nginx proxy
default value matrix_nginx_proxy_request_timeout is 60s
pull/1265/head
sakkiii
5 년 전
committed by
GitHub
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; |
|
|
|
|