full
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# فرانت — modstagram.com → Next.js port 3001
|
||||
# فرانت — modstagram.com → Next.js (PM2 / npm start روی پورت 3004)
|
||||
# مسیر: /etc/nginx/sites-available/modstagram.com
|
||||
|
||||
server {
|
||||
@@ -10,7 +10,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3001;
|
||||
proxy_pass http://127.0.0.1:3004;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
Reference in New Issue
Block a user