Jenkins behing Nginx, works ALMOST everything: wrong redirects when accessing some pages

20 views
Skip to first unread message

Federico Fissore

unread,
Nov 3, 2015, 3:31:05 AM11/3/15
to Jenkins Users
I'm using Jenkins 1.635 which sits behind Nginx 1.8.0 (find attached its configuration): jenkins is started with -Dhudson.security.csrf.requestfield=crumb so that nginx doesn't delete that cookie

It works ALMOST everything

What doesn't is for example the Manage Plugins page. The url shown by the browser in the corner is http://jenkins:9090/pluginManager but once I click I got redirected to http://jenkins/pluginManager which leads to a 404

Attached is also a dump of the two requests made by the browser. As you can see, jenkins is issuing a 302 to http://jenkins/pluginManager and I don't know why.

Best regards

Federico
jenkins.conf
jenkins.redirects.txt
Reply all
Reply to author
Forward
0 new messages