On my host machine, I have a server xyz.example.com
running on nginx. It is not dockerized and not accessible to the outside world, it is simply used for local dev environment.
I would like to be able to access it from within a docker container.
For example, I'd like to be able to do the following from within my docker container:
curl xyz.example.com
and to see the same output I see when I run the command on my host machine.
Also, I am using docker-compose.