Varnish-ban-manager + Vhosts

Home » CentOS » Varnish-ban-manager + Vhosts
CentOS 1 Comment

Hi guys.

‘ve installed varnish-ban-manager (
https://github.com/dot2code/varnish-bans-manager) and I’m currently configuring it’s DNS name. The thing is that I’ve set in Route53 (DNS
service in AWS) to use name http:// purge.domain.com / pointing to http://
varnish_server_name.com/. The thing is, if I test with http ://
purge.domain .com:9000/ it works normally, but using http: //
purge.domain.com/ will send me a “your request cannot be processed” (in a varnish error screen). Any ideas why this could be happening? I’ve test this with the ip address of this vm and works perfectly too.. Here’s the vhost config file:


ServerName purge.domain.com
ServerAlias purge.domain.com

ProxyPass / http://varnish_server.domain:9200/
ProxyPassReverse / http://purge.domain.com/

# Logging
ErrorLog logs/server-error_log
CustomLog logs/server-access_log combined

Note: i’ve replaced my real domain for “domain” just in case.

Thanks guys!!

One thought on - Varnish-ban-manager + Vhosts

LEAVE A COMMENT