From 657faadb9b74f6c5ec543a153dccf3727e4bdcf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kol=C3=A1=C5=99?= Date: Thu, 21 Dec 2023 23:16:27 +0100 Subject: [PATCH] fix(nginx): disable proxy_pass ipv6 since pod doesn't have one --- nginx/nginx.conf.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index dc5317bb..a5801485 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -5,7 +5,8 @@ gzip_proxied expired no-cache no-store private auth; gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml; gzip_disable "MSIE [1-6]\."; -resolver 8.8.8.8; +# disable ipv6 since proxy_pass to S3 resolves sometimes to AAAA, but pod doesn't have an IPV6 addr +resolver 8.8.8.8 ipv6=off; upstream web { server ${PROXY_HOSTNAME_TARGET}:8000;