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: https://blog.ssdnodes.com/blog/tutorial-extending-docker-nginx-host-multiple-websites-ssl/)

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 default.example.org:80 and :443.
FYI: It is the profilemanager of macOS Server that I relocated on these ports.

Thanks.

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?