algo/roles/proxy/templates/000-default.conf.j2

12 lines
290 B
Plaintext
Raw Normal View History

2016-08-17 20:26:21 +00:00
<VirtualHost *:*>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RewriteEngine On
RewriteRule ^(.*)$ http://%{HTTP_HOST}$1 [NC,P]
ProxyPass / http://$1
ProxyPassReverse / http://$1
ProxyPreserveHost On
</VirtualHost>