Fix wrong timeout variable being used

This commit is contained in:
Ajay
2022-03-03 20:09:30 -05:00
parent 744b5ea4f6
commit c602285102
2 changed files with 3 additions and 4 deletions

View File

@@ -21,7 +21,6 @@ http {
include /etc/nginx/mime.types;
include /etc/nginx/proxy.conf;
proxy_next_upstream_timeout 10s;
# error_map has to be at http level
include /etc/nginx/error_map.conf;

View File

@@ -5,8 +5,8 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Connection "";
client_max_body_size 10m;
client_body_buffer_size 128k;
#proxy_connect_timeout 10;
proxy_connect_timeout 5s;
#proxy_send_timeout 10;
#proxy_read_timeout 10;
proxy_read_timeout 10s;
proxy_buffers 32 4k;
proxy_http_version 1.1;
proxy_http_version 1.1;