Hi,
I have used Laradock to create containers on my server. I run php and Nginx. my Nginx server is configured as follows:
- multiple sites with site config in individual .conf files in the sites directory.
- one of the sites is set up as a reverse proxy to another container running owncloud
- have two domain names running through the server with multiple sub domains.
e.g.
www.haXXYY ā static type site with no subdomains
www.mbXXYY <-static site
beta.bmXXYY ā php site used for app development
cloud.mbXXYY. ā reverse proxy on a separate container
what Iām trying to do is use Caddy in the Caddy Laradock container to generate the certs for each of these sites but I cannot figure out how to do this.
I want two certs
- cert for www.haXXYY.com
2 wildcard cert for *.mbXXYY.com
Has anyone done something like this and know how to configure the caddy file for it ?