nginx version: nginx/1.24.0
1
jiuhuicinv 2024-07-13 16:17:04 +08:00
同样遇到
|
![]() |
2
oneisall8955 PRO 双括号包一下试试?
|
![]() |
3
ltux 2024-07-14 11:23:40 +08:00 via Android ![]() 含有大括号的正则表达式需要用双引号引起来。
A regular expression containing the characters “{” and “}” should be quoted: server_name "~^(?<name>\w\d{1,3}+)\.example\.net$"; |
![]() |
4
wdssmq OP |