Thanks for help on this. I've fixed it by moving jenkins application to /jenkins path on the application server. Now it's much simpler and it appears it's working without hiccups location /jenkins { proxy_pass http://jenkins:8080; proxy_redirect http://jenkins:8080/ http://nginx/; }by kefiras@gmail.com - Nginx Mailing List - English
The setup is a simple set of docker containers. a 'localhost' is a docker container with nginx acting as a reverse proxy it has defined /jenkins location to reverse proxy connection to jenkins container which exposes the java app at port 8080 so: location /jenkins { proxy_pass http://jenkins:8080; }by kefiras@gmail.com - Nginx Mailing List - English
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/jenkinsby kefiras@gmail.com - Nginx Mailing List - English
Hello, I am trying to setup a reverse proxy on a single domain to host multiple apps separated by URI, for example: http://localhost/app1 http://localhost/app2 etc. Right know having problems with reverse proxy jenkins which sends HTML page in HTTP reply with relative paths eg. /static/abc/css/common.css So far I have rewritten the content to the login screen as per below but I want toby kefiras@gmail.com - Nginx Mailing List - English