|
@@ -9,6 +9,10 @@ server {
|
|
|
charset $charset;
|
|
|
|
|
|
set $rootdir /www;
|
|
|
+
|
|
|
+ if ( $request_uri ~* ^/(dever_package\/manage|dever_package\/ui) ) {
|
|
|
+ set $rootdir /share/lib/php;
|
|
|
+ }
|
|
|
root $rootdir;
|
|
|
index index.php index.html;
|
|
|
location / {
|
|
@@ -42,4 +46,4 @@ server {
|
|
|
location / { # 如果你希望通过子路径访问,此处修改为子路径,注意以 / 开头并以 / 结束
|
|
|
proxy_pass http://wx.shemic.com:5000/;
|
|
|
}
|
|
|
-}
|
|
|
+}
|