您的位置:首页技术文章
文章详情页

nginx - ngnix重写规则

【字号: 日期:2024-06-21 16:01:50浏览:90作者:猪猪

问题描述

访问地址:域名/web/index.phpngnix如何重新达到以下访问路径 域名/web/index.php?c=display&a=action

nginx - ngnix重写规则

好像实现不了

问题解答

回答1:

rewrite /web/index.php /web/index.php?c=display&a=action;

相关文章: