Skip to content

Commit

Permalink
fix(nginx): disable proxy_pass ipv6 since pod doesn't have one
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Dec 21, 2023
1 parent e3e277e commit 657faad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 657faad

Please sign in to comment.