haproxy RewriteRule.

This commit is contained in:
Ralph Bean 2014-12-12 20:04:37 +00:00
parent e97acbeafb
commit f8f2047872
4 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,6 @@
- template: src=rewrite.conf dest=/etc/httpd.conf.d/{{website}}/haproxy.conf
notify:
- restart httpd
tags:
- haproxy
- haproxy/rewrite

View file

@ -0,0 +1,2 @@
RewriteEngine On
RewriteRule ^{{path}}/(proxy\d+)((?:;.*)?) http://$1:8080/$2 [P,L]