mirror of
https://gitee.com/ShopeX/ECShopX
synced 2026-08-05 19:55:51 +08:00
部署脚本
This commit is contained in:
@@ -30,6 +30,7 @@ http {
|
||||
fastcgi_temp_path /var/lib/nginx/tmp/fastcgi;
|
||||
uwsgi_temp_path /var/lib/nginx/tmp/uwsgi;
|
||||
scgi_temp_path /var/lib/nginx/tmp/scgi;
|
||||
resolver 127.0.0.11 valid=10s ipv6=off;
|
||||
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
@@ -172,7 +173,8 @@ http {
|
||||
|
||||
# 代理到独立的 Web 前端 Nuxt 服务(监听3000端口)
|
||||
location / {
|
||||
proxy_pass http://ecshopx-web-frontend:3000;
|
||||
set $web_frontend http://ecshopx-web-frontend:3000;
|
||||
proxy_pass $web_frontend;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
|
||||
Reference in New Issue
Block a user