|
@@ -17,7 +17,7 @@ server {
|
|
|
error_log /data/logs/nginx/wechat/serror.log;
|
|
|
index index.html index.php;
|
|
|
client_max_body_size 1024m;
|
|
|
- root /data/gitcode/server/wechat;
|
|
|
+ root /data/gitcode/server/wechat/public;
|
|
|
|
|
|
location / {
|
|
|
if (!-e $request_filename) {
|
|
@@ -27,11 +27,11 @@ server {
|
|
|
}
|
|
|
|
|
|
location ^~ /uploads/ {
|
|
|
- root /data/gitcode/server/wechat/public;
|
|
|
+ root /data/gitcode/server/ris/server/public;
|
|
|
}
|
|
|
|
|
|
location ~ \.(js|css|gif|jpg|jpeg|png|html)$ {
|
|
|
- root /data/gitcode/server/wechat;
|
|
|
+ root /data/gitcode/server/wechat/public;
|
|
|
}
|
|
|
|
|
|
location ~ \.php {
|