nginx重写url备忘

2021-02-15 08:18

阅读:453

标签:url   dex   sea   index   break   key   php   重写   any   

rewrite ^/$ /index.php break;
rewrite /page/([0-9]*)$ /index.php?page=$1 break;
rewrite /search/(.*)$ /search.php?key=$1 break;
rewrite /danye$ /danye.php break;

nginx重写url备忘

标签:url   dex   sea   index   break   key   php   重写   any   

原文地址:https://www.cnblogs.com/ksfksf/p/12986834.html


评论


亲,登录后才可以留言!