Re: Varnish-ban-manager + vhosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



http://varnish_server.domain:9200/ != 9000


------Mensaje original------
De: Mariano González
Remitente: centos-bounces@xxxxxxxxxx
Para: centos@xxxxxxxxxx
Responder a: CentOS mailing list
Asunto:  Varnish-ban-manager + vhosts
Enviado: 25 de oct de 2013 18:03

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:

  <VirtualHost *:80>
  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

</VirtualHost>

Note: i've replaced my real domain for "domain" just in case.

Thanks guys!!

-- 
Mariano Gabriel González
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

Diego Sanchez

Sent from my mobile
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux