fix(docker): слушать IPv6 в nginx — healthcheck на localhost уводил контейнер в unhealthy

This commit is contained in:
kewldan
2026-07-13 02:43:21 +03:00
parent c920330fa6
commit ce4ce046ba
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
server {
listen 80;
# Слушаем и IPv6: healthcheck ходит на localhost, который в контейнере
# резолвится в [::1] — без этой строки wget получает Connection refused
# и контейнер стабильно уходит в unhealthy (#3024 в репозитории бота).
listen [::]:80;
server_name _;
root /usr/share/nginx/html;