I need to have access at the /jenkins
path to the Jenkins server.
This is what I have now in my apache configuration:
ProxyPass /jenkins http://localhost:8080
ProxyPassReverse /jenkins http://localhost:8080
When I go to example.com/jenkins
,
I get redirected to example.com/login?from=%2F
,
instead of the expected exmaple.com/jenkins/login?from=%2F
.
So is it possible with apache to make all the requests coming from my Jenkins server, be of the form example.com/jenkins/*
instead of example.com/*
?
P.S.: I know it would be a far better practice create a new server, named something like jenkins.example.com
, but that's not an option for me at the moment.