I want to deploy on the server infrastructure for developing and testing sites, as well as for storing a couple of working sites.To do this, choose a docker with a bunch of nginx + ssl->php7-fpm->mariadb.After reading a lot of documentation, there were some issues that I can not figure out.
1.If I use a bunch of containers nginx-proxy ->(containers with apache/nginx sites?) + Ssl->php7-fpm->mariadb, as I understood, point to docker containers with sites(5- 7 sites) will need to be in nginx-proxy? Or do I not understand something?
2.Based on the first question.There is a server on debian 8.There are two network cards on the server, the first is the Internet, the second distributes it to LAN and to the server, and dnsmasq is also raised on the server.How can I access sites from the first question(test.com, test2.com) deployed in docker containers(nginx-proxy ->(containers with apache/nginx sites?) + Ssl->php7-fpm->mariadb)