To Max,
Would you mind sharing your nginx jenkins con file? I have followed many
URL on internet about proxy Jenkins with nginx but I am never able to make
the ³Warning Šyour proxy is broken ..² to disappear.
Thank you
-Indra
On 12/21/15, 10:39 AM, "jenkinsci-users@googlegroups.com on behalf of
> On 21.12.2015, at 10:19, Max Kovgan wrote:
>
> After setting it to: IP:EXT_PORT, everything started working.
Weird, we should already support both cases (i.e. separate and combined
host/port). Maybe you could take a look at this and compare to your setup?
https://github.com/jenkinsci/jenkin
I managed to fix the issue: the value of header "Host" contained only IP.
After setting it to: IP:EXT_PORT, everything started working.
I'll post this to wiki later on.
Regards!
On Dec 21, 2015 10:51, "Max Kovgan" wrote:
> Hi, Daniel!
> Thanks, for the direction.
> whatever you've suggested, I
Hi, Daniel!
Thanks, for the direction.
whatever you've suggested, I ran:
import hudson.model.*
import jenkins.model.*
import org.kohsuke.stapler.*
println
org.kohsuke.stapler.Stapler.getCurrentRequest().getHeader('X-Forwarded-Port')
println Jenkins.instance.rootUrlFromRequest
The output was:
[
On 20.12.2015, at 23:13, Max Kovgan wrote:
> So, is this possible with my nginx misconfigured?
Are you setting X-Forwarded-Port? Find out by running
`org.kohsuke.stapler.Stapler.getCurrentRequest().getHeader('X-Forwarded-Port')`
in the script console.
Also interesting would be what the outpu