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:
parent
98bf0f94a9
commit
dfb473fd00
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue