rabin 6 năm trước cách đây
mục cha
commit
d5a7b94a59
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      container/conf/web/nginx/conf.d/site.conf

+ 3 - 0
container/conf/web/nginx/conf.d/site.conf

@@ -51,6 +51,9 @@ server {
     if ( $request_uri ~* /pay/pay/notify ) {
             rewrite ^/pay/pay/notify/([0-9+]) /pay/pay/index.php?l=api.notify&account_id=$1 last;
     }
+    if ( $request_uri ~* /public ) {
+            rewrite ^/public/(.*?) /public/index.php?$1 last;
+    }
     location / {
                 # First attempt to serve request as file, then
                 # as directory, then fall back to displaying a 404.