Example for a reverse multi-domain proxy using nginx and docker
Don't forget to add this 2 lines in your /etc/hosts file:
127.0.0.1 hosta 127.0.0.1 hostb