mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +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
|
||||
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
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ server {
|
||||
root /jd/dist;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
location /deploy {
|
||||
location /api {
|
||||
proxy_pass http://api;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user