It appears that your reverse proxy set up is broken.

如果部署在Docker中的Jenkins报上述错误,修改方法:
Nginx的location配置中添加

        proxy_set_header   Host              $http_host;
        proxy_set_header   X-Real-IP         $remote_addr;
        proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
        proxy_set_header   X-Forwarded-Proto $scheme;

Leave a Reply