How to make dostupnymi Docker containers with git branches for external testing?
Continue to configure the environment for testing git-branches)
Have: vps with real ip, multiple subdomains kinds feauture-1.test.domain.com that will be in a separate Docker containers to give version of the site (branch) via teamcity. All subdomains with https.
Made that requests for all subdomains of *.test.domain.com come on nginx on the host machine where stuck a wildcard ssl certificate. There are Docker containers on the same machine that unfold after teamcity will see a commit to the repository.
Question: how to make external http requests passed to the corresponding Docker container (domain = branch)? To do proxy_pass to nginx on the host machine? At what addresses? Or as it is generally clever to make a scheme?