Skip to content

Commit

Permalink
Attempt again fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritzs committed Mar 4, 2025
1 parent 453109f commit 6ebc84b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nginx_secfit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 6ebc84b

Please sign in to comment.