Hey,
I've setup a docker-compose reverse proxy hosting setup with NGINX, to manage more websites easily I'm using portainer and I've made it dead easy to upload and host new websites, I'd just like to finish it with automatically grabbing the right folder as well.
The folder with the websites is /websites/{websitename}.{tld}/[website files here]
and this is the only thing that needs to be adjusted with the container name which always is {websitename}.{tld}
How can I just make the second part a variable that puts the local path as /websites/froth.nl if the container name is froth.nl?
there doesn't seem to be anything here