Fix: Use 127.0.0.1 for nginx proxy to fix 502 error
All checks were successful
DevSecOps-Multibranch/pipeline/head This commit looks good
All checks were successful
DevSecOps-Multibranch/pipeline/head This commit looks good
This commit is contained in:
@@ -59,7 +59,7 @@ http {
|
||||
|
||||
# Proxy API calls to backend
|
||||
location /api {
|
||||
proxy_pass http://localhost:3001;
|
||||
proxy_pass http://127.0.0.1:3001;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
|
||||
Reference in New Issue
Block a user