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/ +