News for hackers. Stuff that matters.
Re:Vagrant Feature Preview: Docker-Based Development Environ... by jeffbr13 on Tuesday April 29, 2014 @03:16PM (#7669325)
Not an expert, but one solution is to have an Nginx configuration file for each website in `/etc/sites-enabled`, which matches requests based on the `server_name` parameter.

Then you can reverse-proxy requests to the right location/port from your Nginx webserver.

This could be provisioned pretty easily, but not from within a Dockerfile. I use a post-receive hook on a remote Git repository, for one of my own websites.

There are no comments on this comment yet.