Proxy a local webserver

I have a docker setting with an nginx reverse proxy (+ letsencrypt support) on port 80 and 443 (this is my setup:

Because I have another web service on the host machine, I need a docker container, that proxies localhost:1111 and localhost:2222, so that I can access these service on and :443.
FYI: It is the profilemanager of macOS Server that I relocated on these ports.


I’m not sure whether this is just to obvious and it’s just me not.

However: I want a docker container, that displays and acts like localhost:1111. I am using docker-compose.

Nobody having a clue for me?