diff --git a/nginx_template.txt b/nginx_template.txt index 491268b..6ff2deb 100644 --- a/nginx_template.txt +++ b/nginx_template.txt @@ -2,7 +2,7 @@ server { listen 80; location / { - proxy_pass http://127.0.0.1:${PROD_PORT_PREFIX}${GATEWAY_POSTFIX}/; + proxy_pass http://0.0.0.0:${PROD_PORT_PREFIX}${GATEWAY_POSTFIX}/; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -12,7 +12,7 @@ server { server { listen ${DEV_PORT_PREFIX}7; location / { - proxy_pass http://127.0.0.1:${DEV_PORT_PREFIX}${GATEWAY_POSTFIX}/; + proxy_pass http://0.0.0.0:${DEV_PORT_PREFIX}${GATEWAY_POSTFIX}/; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -23,7 +23,7 @@ server { server { listen ${STAG_PORT_PREFIX}7; location / { - proxy_pass http://127.0.0.1:${STAG_PORT_PREFIX}${GATEWAY_POSTFIX}/; + proxy_pass http://0.0.0.0:${STAG_PORT_PREFIX}${GATEWAY_POSTFIX}/; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;