0
我试图允许登录我的网站。所以我设置下清漆4在我的VCL如下:清漆编制失败或声明
# Allow the beta site to login
if (req.http.host ~ "^beta\.example\.com$" && req.url ~ "^?oa_social_login_source=custom$") {
return (pass);
}
但是,当我去做的VCL我收到以下错误语法检查:
#varnishd -C -f default.vcl
Message from VCC-compiler:
Regexp compilation error:
nothing to repeat
('input' Line 111 Pos 62)
if (req.http.host ~ "^beta\.example\.com$" && req.url ~ "^?oa_social_login_source=custom$") {
-------------------------------------------------------------##################################----
Running VCC-compiler failed, exited with 2
VCL compilation failed
任何人可以帮助我关于我想要实现的语法?
感谢, 添