From 49e95b2a7f9fb701b19b70389020685e51a035bd Mon Sep 17 00:00:00 2001 From: Jonathan Inge Arvesen Folland Date: Thu, 20 Mar 2025 15:49:51 +0100 Subject: [PATCH] Update nginx_template.txt --- nginx_template.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx_template.txt b/nginx_template.txt index 5028f02..2ff9be0 100644 --- a/nginx_template.txt +++ b/nginx_template.txt @@ -2,7 +2,7 @@ server { listen 80; location / { - proxy_pass http://0.0.0.0:${PROD_PORT_PREFIX}${GATEWAY_POSTFIX}/; + proxy_pass http://0.0.0.0:${PROD_GATEWAY_PORT}/; 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; @@ -10,10 +10,10 @@ server { } server { - listen ${DEV_PORT_PREFIX}7; + listen ${DEV_GATEWAY_PORT}; location / { - proxy_pass http://0.0.0.0:${DEV_PORT_PREFIX}${GATEWAY_POSTFIX}/; + proxy_pass http://0.0.0.0:${DEV_GATEWAY_PORT}/; 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; @@ -21,10 +21,10 @@ server { } server { - listen ${STAG_PORT_PREFIX}7; + listen ${STAG_GATEWAY_PORT}; location / { - proxy_pass http://0.0.0.0:${STAG_PORT_PREFIX}${GATEWAY_POSTFIX}/; + proxy_pass http://0.0.0.0:${STAG_GATEWAY_PORT}/; 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;