-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Mac OS X 10.7.2
Apache comes bundled with Mac OS X. It would be nice if Jenkins could install a config file for Apache that makes it possible to access Jenkins at http(s)://localhost/jenkins instead of http://localhost:8080.
Something like:
ProxyPass /jenkins http://localhost:8080/jenkins ProxyPassReverse /jenkins http://localhost:8080/jenkins ProxyRequests Off # Allow direct access to Jenkins only from localhost i.e. Apache <Proxy http://localhost:8080/jenkins*> Order deny,allow Allow from 127.0.0.1 </Proxy>
Adding "nocanon" option to ProxyPass solves problems with some URLs, see: JENKINS-55656 and https://bz.apache.org/bugzilla/show_bug.cgi?id=63084
Please be aware that this option may affect security:
https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypass