dever 7 лет назад
Родитель
Сommit
1d0ed37f79
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      container/conf/web/nginx/conf.d/site.conf

+ 4 - 1
container/conf/web/nginx/conf.d/site.conf

@@ -21,6 +21,9 @@ server {
     if ( $request_uri ~* /log\/data.add ) {
             rewrite ^/log/(.*?) /log/index.php?$1 last;
     }
+    if ( $request_uri ~* /system/wechat ) {
+            rewrite ^/system/wechat /system/index.php?m=payment&a=wechat_notify last;
+    }
     location / {
                 # First attempt to serve request as file, then
                 # as directory, then fall back to displaying a 404.
@@ -53,4 +56,4 @@ server {
     #location / { # 如果你希望通过子路径访问,此处修改为子路径,注意以 / 开头并以 / 结束
         #proxy_pass http://wx.shemic.com:5000/;
     #}
-#}
+#}