|
@@ -1,9 +1,9 @@
|
|
|
server {
|
|
|
listen 9600;
|
|
|
- access_log /data/logs/nginx/api/access.log;
|
|
|
- error_log /data/logs/nginx/api/error.log;
|
|
|
+ access_log /zskk_system/logs/nginx/api/access.log;
|
|
|
+ error_log /zskk_system/logs/nginx/api/error.log;
|
|
|
index index.html index.php;
|
|
|
- root /data/gitcode/yuanchengpasc/public/;
|
|
|
+ root /zskk_system/code/yuanchengpasc/public/;
|
|
|
|
|
|
#add_header Access-Control-Allow-Origin '*';
|
|
|
#add_header Access-Control-Allow-Headers 'X-Requested-With,Content-Type';
|
|
@@ -16,7 +16,7 @@ server {
|
|
|
}
|
|
|
|
|
|
location ~ \.(js|css|gif|jpg|jpeg|png|html)$ {
|
|
|
- root /data/code/yuanchengpasc/public/;
|
|
|
+ root /zskk_system/code/yuanchengpasc/public/;
|
|
|
}
|
|
|
|
|
|
# location /dist/ {
|