mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +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
|
||||
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
|
||||
echo
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ server {
|
|||
root /jd/dist;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
location /deploy {
|
||||
location /api {
|
||||
proxy_pass http://api;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user