nginx 配置URL重寫(實現隱藏index.php)

正則方式:php location / { root html/xxxx/yyyy/; index index.php index.html; if ( !-e $request_filename ){ rewrite(.*) /index.php/$1; } } /auth/login index.php?/auth/loginhtml try_files方式: nginx.co
相關文章
相關標籤/搜索