阿里云云虚拟主机Nginx系统,如何配置伪静态
在这里添加伪静态规则:
1 location / { 2 if (!-e $request_filename){ 3 rewrite ^/(.*)$ /index.php?p=$1 last; 4 } 5 } |

© 版权声明
部分资源来源于网络或AI生成,如有侵权请于我们联系。
阿里云云虚拟主机Nginx系统,如何配置伪静态
在这里添加伪静态规则:
1 location / { 2 if (!-e $request_filename){ 3 rewrite ^/(.*)$ /index.php?p=$1 last; 4 } 5 } |