location /game_web{ if (!-e $request_filename){//请求不是文件或者目录 rewrite ^/game_web/(\w*)/(\w*)$ /game_web_dyn/index.php/$ 1/init/$2 last; break; } }
时间: 2024-10-14 19:18:19
location /game_web{ if (!-e $request_filename){//请求不是文件或者目录 rewrite ^/game_web/(\w*)/(\w*)$ /game_web_dyn/index.php/$ 1/init/$2 last; break; } }