Skip to content

Commit 4a787ca

Browse files
committed
Update README.rst
Example for ban.url is wrong, it expects an argument like the purge.url example.
1 parent 8da8d05 commit 4a787ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Example::
3636

3737
manager = VarnishManager( ('server1:6082', 'server2:6082') )
3838
manager.run('ping')
39-
manager.run('ban.url ^/secret/$')
39+
manager.run('ban.url', '^/secret/$')
4040
manager.run('ban.list')
4141
manager.run('purge.url', 'http://mydomain.com/articles/.*')
4242
manager.close()

0 commit comments

Comments
 (0)