|
|
|
|
|
by cfallin
3694 days ago
|
|
I just got exactly the same setup working this past week, after deciding to move from ad-hoc setup to a clean Dockerized setup with minimal custom config. It's great! The thing I like about this setup is that it seamlessly supports multiple vhosts, including SNI for the SSL. I can just create a new container that serves a new domain and set a few environment variables (VIRTUAL_HOST=mydomain.com and LETSENCRYPT_HOST=mydomain.com) and within a few seconds there's a new cert and all requests on that domain are proxied appropriately. My setup script is here [1] for anyone who wants to do the same. [1] https://github.com/cfallin/dot/blob/master/doc/setup-grey.c1... |
|