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