From 3c98163c4ce42f4c7b7c1d2b18231eff6200fce7 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 8 Dec 2014 19:41:05 +0000 Subject: [PATCH] Special-case awstats. --- .../templates/reversepassproxy.awstats.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/httpd/reverseproxy/templates/reversepassproxy.awstats.conf diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.awstats.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.awstats.conf new file mode 100644 index 0000000000..02128bf954 --- /dev/null +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.awstats.conf @@ -0,0 +1,11 @@ +ProxyPass /wstatsclasses {{proxyurl}}/awstatsclasses +ProxyPassReverse /wstatsclasses {{proxyurl}}/awstatsclasses + +ProxyPass /awstatscss {{proxyurl}}/awstatscss +ProxyPassReverse /awstatscss {{proxyurl}}/awstatscss + +ProxyPass /awstatsicons {{proxyurl}}/awstatsicons +ProxyPassReverse /awstatsicons {{proxyurl}}/awstatsicons + +ProxyPass {{localpath}} {{proxyurl}}{{remotepath}} +ProxyPassReverse {{localpath}} {{proxyurl}}{{remotepath}}