1
0
Fork 0
mirror of https://code.forgejo.org/infrastructure/documentation synced 2024-11-25 20:11:11 +00:00

nginx stream reverse proxy: use default timeout

3s is too short for connect timeout when the user it manually typing a password

http://nginx.org/en/docs/stream/ngx_stream_proxy_module.html#proxy_connect_timeout
This commit is contained in:
Earl Warren 2024-10-13 14:50:22 +03:00
parent 98bf0f94a9
commit dfb473fd00
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -506,8 +506,6 @@ lxc-helpers.sh lxc_install_lxc_inside 10.41.13 fc29
listen 2080; # the port to listen on this server listen 2080; # the port to listen on this server
listen [::]:2080; listen [::]:2080;
proxy_pass v8; # forward traffic to this upstream group proxy_pass v8; # forward traffic to this upstream group
proxy_timeout 3s;
proxy_connect_timeout 3s;
} }
} }
``` ```