如何nginx位置查询“?”字符块?

时间:2019-12-28 16:27:39

标签: nginx pcre

location ~ "/wordpress/post/([\w]{2,10})$" {


}

https://example.com/wordpress/post/1234567890a是404

不好

https://example.com/wordpress/post/1234567890?AAAAAAA_~=0+ **** 19hih320hr23h是200

我要“”吗?字符块。

0 个答案:

没有答案