Skip to content

Instantly share code, notes, and snippets.

@kaesetoast
Last active July 12, 2017 10:34
Show Gist options
  • Save kaesetoast/9484677 to your computer and use it in GitHub Desktop.
Save kaesetoast/9484677 to your computer and use it in GitHub Desktop.
Template for Apache vhost that tunnels jenkins
<VirtualHost *:80>
ServerName ci.{domain}.{tld}
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
ProxyRequests Off
ProxyPreserveHost On
<proxy http://127.0.0.1:8080*>
Order deny,allow
Allow from all
</proxy>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment