diff options
| author | Ralph Bean <rbean@redhat.com> | 2014-12-08 19:30:25 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2014-12-08 19:30:30 +0000 |
| commit | 11aa655c9aa2baa0862ba55464a52f35fa8a39f2 (patch) | |
| tree | 2c0678ac78332dcde65051ad5ecce9918863ce9b /roles/httpd/reverseproxy | |
| parent | e97bfa642f4f4e79a59863a71c97f88f2e5a0874 (diff) | |
| download | ansible-11aa655c9aa2baa0862ba55464a52f35fa8a39f2.tar.gz ansible-11aa655c9aa2baa0862ba55464a52f35fa8a39f2.tar.xz ansible-11aa655c9aa2baa0862ba55464a52f35fa8a39f2.zip | |
Special-case geoip-city-wsgi.
Diffstat (limited to 'roles/httpd/reverseproxy')
| -rw-r--r-- | roles/httpd/reverseproxy/templates/reversepassproxy.geoip-city-wsgi.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.geoip-city-wsgi.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.geoip-city-wsgi.conf new file mode 100644 index 000000000..645689180 --- /dev/null +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.geoip-city-wsgi.conf @@ -0,0 +1,6 @@ +RewriteEngine On + +RewriteRule ^/city(.*) {{ proxyurl }}/city$1 [P,L] +ProxyPassReverse /city {{ proxyurl }}/city + +Alias / /srv/web/geoip/ |
