Skip to content

Instantly share code, notes, and snippets.

@bspavel
Forked from razbakov/jenkins.conf
Created August 16, 2018 10:55
Show Gist options
  • Save bspavel/da5b7566a236006b638a51fa15da0be2 to your computer and use it in GitHub Desktop.
Save bspavel/da5b7566a236006b638a51fa15da0be2 to your computer and use it in GitHub Desktop.
Jenkins Apache Virtual Host
<Virtualhost *:80>
ServerName your.url.com
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
<Proxy http://localhost:8080/*>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/
ProxyPassReverse / http://your.url.com/
</Virtualhost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment