mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 11:56:08 +08:00
更新nginx配置
This commit is contained in:
parent
c0bb6cddf4
commit
f2f4bfbefd
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user