I was missing the "ProxyPreserveHost On". I've added it and it seems to
work again now :-) Thanks.
Le jeudi 8 février 2018 21:53:34 UTC+1, Ivan Fernandez Calvo a écrit :
>
> If you use Apache httpd in front of Jenkins check that your config looks
> like this one
>
> <VirtualHost *:80>
> ProxyPreserveHost On
> ProxyRequests Off
> AllowEncodedSlashes NoDecode
> Timeout 5400
> ProxyTimeout 5400
>
> <Proxy "*">
> Order deny,allow
> Allow from all
> Authtype Basic
> Authname "Password Required"
> AuthUserFile /usr/local/apache2/conf/passwd
> Require valid-user
> RequestHeader unset "X-Forwarded-User"
> RequestHeader unset "X-Forwarded-Groups"
> RequestHeader unset "Authorization"
> RewriteEngine On
>
> RequestHeader set "X-Forwarded-User" "%{RU}e"
> RequestHeader set "X-Forwarded-Groups" "%{RU}e|users"
>
> RewriteCond %{LA-U:REMOTE_USER} (.+)
> RewriteRule .* - [E=RU:%1,NS]
> </Proxy>
>
> ProxyPass "/jenkins" "http://jenkins.example.com:8282/jenkins" nocanon
> ProxyPassReverse "/jenkins" "http://jenkins.example.com:8282/jenkins"
> </virtualhost>
>
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/cd41c8b7-9fbe-4dd2-98be-b8c5636f0959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.