Try any of the following methods:
you can just set your nginx to redirect like so:
location /jenkins {
    proxy_pass http://jenkins:8080;
    ...
}
location /other-container {
    proxy_pass http://other-container:8080;
}
which would allow you to access jenkins at 192.168.1.2/jenkins
Or you can serve your different containers through different ports. E.g:
server {
    listen 8081;
    location / {
        proxy_pass http://jenkins:8080;
        ...
    }
}
server {
    listen 8082;
    location / {
        proxy_pass http://other-container:8080;
        ...
    }
}
And then you can access Jenkins on port address 192.168.1.2:8081/.
I hope it will help you resolve your query.