https://myPrivateURL.dyndns-office.com:444/jenkins/
So I configured my Apache like this:
<virtualhost *:443>
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyRequests Off
ProxyPass /jenkins/ http://localhost:8080/
ProxyPassReverse /jenkins/ http://localhost:8080/
</virtualhost>
This makes Jenkins accessible if I enter https://myPrivateURL.dyndns-office.com:444/jenkins/ within my browser. However, not all links within the Jenkins-pages are correct. Consider the menu entries to the left including “New Job” or “Manage Jenkins”. E.g. “Manage Jenkins” refers to
https://myPrivateURL.dyndns-office.com:444/manage
However, the URL should include “jenkins” within the path. The
following URL would be the right one (and works if manually entered)
https://myPrivateURL.dyndns-office.com:444/jenkins/manage
How do I configure Jenkins so that a prefix is used to build the Jenkins-URLs? Here is what I tried:
https://myPrivateURL.dyndns-office.com:444/jenkins/ as <hudsonUrl> in hudson.tasks.Mailer.xml
However, if I try to open https://myPrivateURL.dyndns-office.com:444/jenkins/ adding the prefix and restarting Jenkins I always get the same error message:
It does not matter what I enter as a prefix. Even if I use “abcdefg” as the prefix the error message remains the same. /var/log/jenkins/jenkins.log simply says
[Winstone 2014/01/02 XX:XX:XX] - Request URL / not found - doesn't match any webapp prefix