timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-12623] Provide config to hide Jenkins behind Apache #2042

Open timja opened 12 years ago

timja commented 12 years ago

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

  Order deny,allow
  Allow from 127.0.0.1


Originally reported by sti, imported from: Provide config to hide Jenkins behind Apache
  • assignee: sti
  • status: Open
  • priority: Minor
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 5 years ago

robson:

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