Skip to content

Instantly share code, notes, and snippets.

@daicham
Last active August 29, 2015 14:22
Show Gist options
  • Save daicham/17c2234eb8b8ab20f4df to your computer and use it in GitHub Desktop.
Save daicham/17c2234eb8b8ab20f4df to your computer and use it in GitHub Desktop.
Apache2 reverse proxy setting for fixing a Jekins warning
# See also: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+says+my+reverse+proxy+setup+is+broken
# Tested on Apache2.2.15/CentOS6
# /etc/httpd/conf.d/proxy.conf
ProxyPass /jenkins http://localhost:8080/jenkins nocanon
ProxyPassReverse /jenkins http://localhost:8080/jenkins
ProxyRequests off
AllowEncodedSlashes on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment