| Our Jenkins server is located behind nginx server which forwards external HTTPS requests to Jenkins server by HTTP. Generally I can access Jenkins by HTTPS from outside our corporate network. However there are some pitfalls, probably related to some invalid redirection commands inside Jenkins server which inadvertently change URL from HTTPS to HTTP. For example:
- open Jenkins web interface with HTTPS
- open job configure page
- press Save button
Then we get the following error message: 400 Bad Request The plain HTTP request was sent to HTTPS port
nginx/1.16.1 This is because browser inadvertently switches from HTTPS to HTTP on Save button. |