Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/etc/apache2/vhost.d/public/newton.jameswhite.org.conf
<VirtualHost *:80>
########################################################################
# Stock vhosts stuff
########################################################################
ServerAdmin webmaster@websages.com
ServerName newton.jameswhite.org
ServerAlias newton.jameswhite.org
ErrorLog logs/newton.jameswhite.org-error.log
CustomLog logs/newton.jameswhite.org-access.log combined
LogLevel warn
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
DocumentRoot /var/www
<Directory /var/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
SSLProxyEngine On
ProxyRequests Off
ProxyPass /livingroom http://172.17.2.133:8080/
ProxyPassReverse /livingroom http://172.17.2.133:8080/
ProxyPass /food http://172.17.2.82:8081/
ProxyPassReverse /food http://172.17.2.82:8081/
ProxyPass /bed http://172.17.2.83:8081/
ProxyPassReverse /bed http://172.17.2.83:8081/
ProxyPass /litter http://172.17.2.84:8081/
ProxyPassReverse /litter http://172.17.2.84:8081/
ProxyPass /patio http://172.17.2.87:8081/
ProxyPassReverse /patio http://172.17.2.87:8081/
ProxyPass /door http://172.17.2.129:8081/
ProxyPassReverse /door http://172.17.2.129:8081/
<LocationMatch "^/+$">
Options +Indexes
</LocationMatch>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment