mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 23:47:00 +03:00
Update nginx config
This commit is contained in:
@@ -21,6 +21,8 @@ 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;
|
||||
# Custom MIME definition
|
||||
@@ -29,8 +31,8 @@ http {
|
||||
}
|
||||
# keepalive settings
|
||||
#keepalive_requests 10;
|
||||
keepalive_timeout 5s;
|
||||
#http2_idle_timeout 10s; # replaced by keepalive_timeout in 1.19.7
|
||||
keepalive_timeout 10s;
|
||||
http2_idle_timeout 20s; # replaced by keepalive_timeout in 1.19.7
|
||||
|
||||
access_log off;
|
||||
#error_log /etc/nginx/logs/error.log warn;
|
||||
@@ -62,8 +64,14 @@ http {
|
||||
server 10.0.0.9:4441 max_fails=3 fail_timeout=60s;
|
||||
server 10.0.0.9:4442 max_fails=3 fail_timeout=60s;
|
||||
|
||||
server 10.0.0.10:4441 max_fails=3 fail_timeout=60s;
|
||||
server 10.0.0.10:4442 max_fails=3 fail_timeout=60s;
|
||||
server 10.0.0.12:4441 max_fails=3 fail_timeout=60s;
|
||||
server 10.0.0.12:4442 max_fails=3 fail_timeout=60s;
|
||||
|
||||
server 10.0.0.10:4441 max_fails=3 fail_timeout=60s;
|
||||
server 10.0.0.10:4442 max_fails=3 fail_timeout=60s;
|
||||
|
||||
server 10.0.0.13:4441 max_fails=3 fail_timeout=60s;
|
||||
server 10.0.0.13:4442 max_fails=3 fail_timeout=60s;
|
||||
|
||||
#server 134.209.69.251:80 backup;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user