[AusNOG] Webhosting options
Andrew Yager
andrew at rwts.com.au
Sat Aug 6 12:16:02 EST 2016
On 5 August 2016 at 20:02, Matt Palmer <mpalmer at hezmatt.org> wrote:
> On Fri, Aug 05, 2016 at 05:37:29PM +1000, Andrew Yager wrote:
> > Build a docker container and host it in that.
>
> How well does cPanel play nicely with Docker (and containers in general),
> though? Is its firewall management Docker-mangling friendly, and does it
> have straightforward ways to configure reverse proxy configurations to
> actually pass the incoming connections into the container?
>
No; most of the Docker options for CPanel are pretty "average" and buggy.
It does require a bit of work, but you can (without too much effort) build
an appropriately firewalled nginx proxy for a Django app in an image that
will connect to a range of gunicorn/uwsgi backend services with
virtual-server support on the nginx proxy. It was a learning curve to run
up to it, but one I'm glad we did.
It's on my list to throw up a blog post about how we attacked (and
partially solved) this. Quickly looking this morning I've found a few nice
cpanel alternatives for docker-hosting, and running up a small VM to take
care of this sort of thing looks pretty easy to do.
Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ausnog.net/pipermail/ausnog/attachments/20160806/db000012/attachment.html>
More information about the AusNOG
mailing list