Update proxy_pass ports in nginx.conf

This commit is contained in:
2025-06-07 21:48:52 +02:00
parent 8f8dac1bcf
commit f6024c743f

View File

@@ -14,7 +14,7 @@ http {
listen 80; listen 80;
location / { location / {
proxy_pass http://main-website:25600; proxy_pass http://main-website:3000;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -22,7 +22,7 @@ http {
} }
location /lawfirm-demos/demo1/ { location /lawfirm-demos/demo1/ {
proxy_pass http://ld1:25601/; proxy_pass http://ld1:3000/;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;