From 7145249d651d33f7aea0d7632ab39c9e491c4fa7 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Mon, 5 Nov 2012 13:53:24 -0800 Subject: [PATCH] Add a sample Apache vhost config --- etc/redhat-el6/httpd-vhost.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 etc/redhat-el6/httpd-vhost.conf diff --git a/etc/redhat-el6/httpd-vhost.conf b/etc/redhat-el6/httpd-vhost.conf new file mode 100644 index 0000000..02eff5c --- /dev/null +++ b/etc/redhat-el6/httpd-vhost.conf @@ -0,0 +1,17 @@ +# Inbucket reverse proxy, Apache will forward requests from port 80 +# to Inbucket's built in web server on port 9000 +# +# Replace SERVERFQDN with your servers fully qualified domain name + + ServerName SERVERFQDN + ProxyRequests off + + + Order allow,deny + Allow from all + + + RewriteRule ^/$ http://SERVERFQDN:9000 + ProxyPass / http://SERVERFQDN:9000/ + ProxyPassReverse / http://SERVERFQDN:9000/ +