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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/63613b5f-27be-44dd-9dc6-5273496f8ca6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to