mirror of
https://github.com/9001/copyparty.git
synced 2026-01-09 04:55:42 +10:00
nginx: reduce cost of spurious connectivity loss;
default value of fail_timeout (10sec) makes server unavailable for that amount of time, even if the server is just down for a quick restart
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# on fedora/rhel, remember to setsebool -P httpd_can_network_connect 1
|
||||
|
||||
upstream cpp {
|
||||
server 127.0.0.1:3923;
|
||||
server 127.0.0.1:3923 fail_timeout=1s;
|
||||
keepalive 1;
|
||||
}
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user