fix and update
This commit is contained in:
11
install.sh
11
install.sh
@@ -1980,12 +1980,11 @@ nginx_proxy_headers=" proxy_set_header Host \$host;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_connect_timeout 75s;"
|
||||
|
||||
# Встроенный DNS Docker. valid=5s + resolver_timeout — баланс между свежим IP и
|
||||
# «Server failure» при кратковременном дауне контейнера во время recreate.
|
||||
NGINX_DOCKER_RESOLVER=" resolver 127.0.0.11 ipv6=off valid=5s;
|
||||
resolver_timeout 5s;"
|
||||
NGINX_DOCKER_SERVER_DNS=" resolver 127.0.0.11 ipv6=off valid=5s;
|
||||
resolver_timeout 5s;"
|
||||
# Встроенный DNS Docker. valid=2s — быстрее подхватывает новый IP после recreate api-gateway.
|
||||
NGINX_DOCKER_RESOLVER=" resolver 127.0.0.11 ipv6=off valid=2s;
|
||||
resolver_timeout 3s;"
|
||||
NGINX_DOCKER_SERVER_DNS=" resolver 127.0.0.11 ipv6=off valid=2s;
|
||||
resolver_timeout 3s;"
|
||||
|
||||
# Имя nginx-переменной из ключа апстрима (только [A-Za-z0-9_]).
|
||||
nginx_upstream_var() {
|
||||
|
||||
Reference in New Issue
Block a user