swag with containers in separate domains

second post on here i feel is fitting for a description of what i did to make it work. i already had a domain pointing at my host, now i want to have two separate ones going to the same destination.

ive had this domain for a while, just havent found a use for it until now. i wanted to use swag for my main proxy but i didnt want urls to share a cert with other things with the other sans listed in the cert. so i used certbot at the host level outside of the docker container for swag to do a certbot command to register the separate domain

certbot certonly --standalone -d domainname.com	

then i ran a cp on the files in the letsencrypt folder to the mounted location of the container. the -L copies the symblinks

subscribe to free tier to see an example and a script to run in cron to automate certbot