VarnishAdmin::ban()
(PECL varnish >= 0.3)
Ban URLs using a VCL expression
说明
public VarnishAdmin::ban(string $vcl_regex): int
参数
- $vcl_regex
Varnish VCL expression. It's based on the varnish ban command.
返回值
Returns the varnish command status.
(PECL varnish >= 0.3)
Ban URLs using a VCL expression
public VarnishAdmin::ban(string $vcl_regex): int
Varnish VCL expression. It's based on the varnish ban command.
Returns the varnish command status.