From 6ebc84b99eb3413d42691ecd036f59fa1683296c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauritz=20Skog=C3=B8y?= Date: Tue, 4 Mar 2025 10:06:57 +0100 Subject: [PATCH] Attempt again fix --- nginx_secfit.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx_secfit.conf b/nginx_secfit.conf index 5047f73..04b2ae4 100644 --- a/nginx_secfit.conf +++ b/nginx_secfit.conf @@ -3,7 +3,7 @@ server { listen 80; location / { - proxy_pass http://0.0.0.0:8080/; + 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,10 +12,10 @@ server { # Development server configuration server { - listen 8081; + listen ${DEV_PORT_PREFIX}7; location / { - proxy_pass http://0.0.0.0:8081/; + 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; @@ -24,10 +24,10 @@ server { # Staging server configuration server { - listen 8082; + listen ${STAG_PORT_PREFIX}${GATEWAY_POSTFIX}7; location / { - proxy_pass http://0.0.0.0:8082/; + 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;