mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Add a sample Apache vhost config
This commit is contained in:
17
etc/redhat-el6/httpd-vhost.conf
Normal file
17
etc/redhat-el6/httpd-vhost.conf
Normal file
@@ -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
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerName SERVERFQDN
|
||||||
|
ProxyRequests off
|
||||||
|
|
||||||
|
<Proxy *>
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Proxy>
|
||||||
|
|
||||||
|
RewriteRule ^/$ http://SERVERFQDN:9000
|
||||||
|
ProxyPass / http://SERVERFQDN:9000/
|
||||||
|
ProxyPassReverse / http://SERVERFQDN:9000/
|
||||||
|
</VirtualHost>
|
||||||
Reference in New Issue
Block a user