On Tue, Apr 29, 2014 at 1:22 AM, Marius Gedminas <[email protected]> wrote:
> On Mon, Apr 28, 2014 at 05:56:00PM -0700, Scott Hendrickson wrote:
>> I guess I prematurely marked this as [SOLVED]. Thank you for the
>> feedback! I incorporated it and did some more testing of the
>> configuration. Here's what I'm experiencing:
>>
>> (1) "ProxyPreserveHost On" seems to make the output filters
>> unnecessary, as you guessed.
>> However, if I remove the Header edit Location then I get the reverse
>> proxy is broken warning
>> I still got the warning even if I set Jenkins Location on the
>> Configure System page to https://my.domain/jenkins.
>
> Oh, you're using HTTPS? In that case you need *two* ProxyPassReverse
> directives:
>
> ProxyPassReverse /jenkins http://localhost:8080/jenkins
> ProxyPassReverse /jenkins http://my.domain/jenkins
>
> See
> https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache#RunningJenkinsbehindApache-modproxywithHTTPS
Should you need any of that if you use ajp? I have:
ProxyPass /jenkins/ ajp://localhost:8010/jenkins/
and it seems to work with either http or https and no ProxyPassReverse entries.
jenkins is started with --prefix=/jenkins --ajp13Port=8010 and apache
is also proxying a bunch of other services on this box.
--
Les Mikesell
[email protected]
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.