mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
更新nginx配置
This commit is contained in:
@@ -33,7 +33,11 @@ then
|
|||||||
cp -fv ${JD_DIR}/docker/front.conf /etc/nginx/conf.d/front.conf
|
cp -fv ${JD_DIR}/docker/front.conf /etc/nginx/conf.d/front.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "======================2. 更新源代码========================\n"
|
echo -e "======================2. 启动nginx========================\n"
|
||||||
|
nginx -c /etc/nginx/nginx.conf
|
||||||
|
echo
|
||||||
|
|
||||||
|
echo -e "======================3. 更新源代码========================\n"
|
||||||
bash ${JD_DIR}/git_pull.sh
|
bash ${JD_DIR}/git_pull.sh
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ server {
|
|||||||
root /jd/dist;
|
root /jd/dist;
|
||||||
ssl_session_timeout 5m;
|
ssl_session_timeout 5m;
|
||||||
|
|
||||||
location /deploy {
|
location /api {
|
||||||
proxy_pass http://api;
|
proxy_pass http://api;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user