我需要redirect/重写包含查询string的url到相同的url,但没有查询string。 例如http://domain.com/a-post-title/?fbid=xyz到http://domain.com/a-post-title/对不起,我的英文不好。
在反向代理(ProxyPass)后面configuration前缀MojolicIoUs中的URL
rest之间有什么区别; 最后 在Nginx重写?
htaccessredirect到子文件夹,并以斜线结尾
在Nginx上重写plex媒体服务器url?
简单,只要放一个? 在重写结束后,从http://Nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite :
If a replacement string includes the new request arguments,the prevIoUs request arguments are appended after them. If this is undesired,putting a question mark at the end of a replacement string avoids having them appended
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。