Skip to content

Instantly share code, notes, and snippets.

@580farm
580farm / httpd_proxy.conf
Last active December 9, 2015 23:08
nginx 400 request
ProxyTimeout 300
SSLProxyEngine on
#testing support proxypass
ProxyPass /support http://localhost:7080/
ProxyPassReverse /support http://localhost:7080/
@580farm
580farm / etc_sysconfig_varnish
Created December 17, 2012 19:32
Varnish error when redirecting to backend "support". "Default" backend works correctly.
DAEMON_OPTS="-a :6081 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-u varnish -g varnish \
-s file,/var/lib/varnish/varnish_storage.bin,1G"