location /myapp { index index.php; if (!-e $request_filename) { rewrite ^/myapp/(.*\.(css|js|jpg|gif|png))$ /myapp/$1 last; rewrite ^/myapp/(.*) /myapp/index.php; } }
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-10-14 17:57 , Processed in 0.082542 second(s), 14 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.