Welcome! Log In Create A New Profile

Advanced

Re: Jenkins reverse proxy on single domain with multiple apps

February 26, 2018 09:58AM
It was just an example, app1 or app2 may be any app, eg. zabbix or another web server.
I have left the basic config for troubleshooting, my proxy pass is just as per below:

location /jenkins {
proxy_pass http://jenkins:8080;
}

The very first GET is:

---
curl http://localhost:8123/jenkins

<html><head><meta http-equiv='refresh' content='1;url=/login?from=%2Fjenkins'/><script>window.location.replace('/login?from=%2Fjenkins');</script></head><body style='background-color:white; color:white;'>


Authentication required
<!--
You are authenticated as: anonymous
Groups that you are in:

Permission you need to have (but didn't): hudson.model.Hudson.Read
... which is implied by: hudson.security.Permission.GenericRead
... which is implied by: hudson.model.Hudson.Administer
-->

</body></html>
---

which tells the browser to go to http://localhost/login?from=%2Fjenkins but it should be rewritten to http://localhost/jenkins/login?from=%2Fjenkins
Subject Author Posted

Jenkins reverse proxy on single domain with multiple apps

kefiras@gmail.com February 25, 2018 03:08AM

Re: Jenkins reverse proxy on single domain with multiple apps

Aziz Rozyev February 25, 2018 08:14AM

Re: Jenkins reverse proxy on single domain with multiple apps

kefiras@gmail.com February 26, 2018 09:58AM

Re: Jenkins reverse proxy on single domain with multiple apps

Francis Daly February 25, 2018 10:36AM

Re: Jenkins reverse proxy on single domain with multiple apps

kefiras@gmail.com February 26, 2018 10:03AM

Re: Jenkins reverse proxy on single domain with multiple apps

Aziz Rozyev February 26, 2018 11:04AM

Re: Jenkins reverse proxy on single domain with multiple apps

kefiras@gmail.com February 26, 2018 11:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 234
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready