1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-08 04:01:55 +00:00

Create systemd service unit file for #47

- Switch ubuntu from upstart to systemd
- Switch redhat from init.d to systemd
This commit is contained in:
James Hillyerd
2017-01-05 04:53:18 +00:00
parent dcc0f36f48
commit 61c6e7c2e9
10 changed files with 43 additions and 2 deletions

View 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>