fix(nginx): point statista.steelforesight.ir upstream to statista-frontend-1:3000 instead of if-react-frontend
This commit is contained in:
parent
aec46eb0e6
commit
89aa95150c
|
|
@ -96,7 +96,7 @@ server {
|
||||||
proxy_pass http://statista-backend-1:8000;
|
proxy_pass http://statista-backend-1:8000;
|
||||||
}
|
}
|
||||||
|
|
||||||
set $upstream_frontend http://if-react-frontend:80;
|
set $upstream_frontend http://statista-frontend-1:3000;
|
||||||
proxy_pass $upstream_frontend;
|
proxy_pass $upstream_frontend;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
@ -108,7 +108,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
set $upstream_frontend http://if-react-frontend:80;
|
set $upstream_frontend http://statista-frontend-1:3000;
|
||||||
proxy_pass $upstream_frontend;
|
proxy_pass $upstream_frontend;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
@ -176,7 +176,7 @@ server {
|
||||||
proxy_pass http://statista-backend-1:8000;
|
proxy_pass http://statista-backend-1:8000;
|
||||||
}
|
}
|
||||||
|
|
||||||
set $upstream_frontend http://if-react-frontend:80;
|
set $upstream_frontend http://statista-frontend-1:3000;
|
||||||
proxy_pass $upstream_frontend;
|
proxy_pass $upstream_frontend;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
@ -188,7 +188,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
set $upstream_frontend http://if-react-frontend:80;
|
set $upstream_frontend http://statista-frontend-1:3000;
|
||||||
proxy_pass $upstream_frontend;
|
proxy_pass $upstream_frontend;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue