Added localhost instead of DNS

This commit is contained in:
Dries Augustyns
2024-07-23 16:57:12 +02:00
parent 9ac6e35379
commit d568be98cc
+2 -2
View File
@@ -7,7 +7,7 @@ http {
listen 3000; listen 3000;
location /api/ { location /api/ {
proxy_pass http://plunk:4000/; proxy_pass http://127.0.0.1:4000/;
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;
@@ -15,7 +15,7 @@ http {
} }
location / { location / {
proxy_pass http://plunk:5000; proxy_pass http://127.0.0.1:5000;
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;