I have an app that create a subdomain with optimized front-end for every user (panel.userdomain.com). I config my dns server but i don't know how to config nginx to map a container. I explain my process
- register user, submit a domain, dns server (bind9) config,
- select a template for front-end and optimize it
- create a docker container with domain name
- ******** config nginx ************ NGINX Configuration I want when a client type panel.userdomain.com and come to my nginx, map him/his to optimized front-end container.