-
nginx如何隐藏index.php
nginx隐藏index.php的方法:直接在vhosts.conf配置文件中添加代码“if ( !-e $request_filename) {rewrite ^(.*)$ index.php$1 last;break;}”即可。首
nginx隐藏index.php的方法:直接在vhosts.conf配置文件中添加代码“if ( !-e $request_filename) {rewrite ^(.*)$ index.php$1 last;break;}”即可。首