I'm trying to use hostname based connecting to a docker container. i.e: I connect my browser to web01.docker.example.org (assuming a wildcard DNS record on *.docker.example.org pointing to my docker box). How do I enable docker to forward this request to my nginx docker for instance?
This idea is inspired by apache's VirtualNameHost model, which does this, except to a VirtualHost rather then a running container.