Good afternoon, folks,
I have a server with docker swarm running in production, where my nginx is playing the role of reverse proxy for microservices. Everything is working perfectly, but I always come across the following problem with nginx.
I need an application (like jenkins or zanata for example) to fall into the root of my site, as below:
server {
server_name myapp.com
listen 80;
location / {
proxy_pass http://ipservidorjenkins/jenkins/;
}
}
above is just an example .. whenever I try to do a proxy_pass for an address that has URN (in the case / jenkins), fails, casso or 404, or in some cases does not load CSS and javascript.
Has anyone done this kind of setup without having to add / jenkins in location? The idea is to go to myapp.com and drop in the link
Thank you!