Last active
July 12, 2017 10:34
-
-
Save kaesetoast/9484677 to your computer and use it in GitHub Desktop.
Template for Apache vhost that tunnels jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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