Suppose www.a.com is built with normal LNMP.
Assuming Www.b.com is running inside Docker
How do I configure it, I think of the host's nginx to forward traffic to Docker
If you need to run two domain names in Docker, you have to open two containers, a container?
Reply content:
Suppose www.a.com is built with normal LNMP.
Assuming Www.b.com is running inside Docker
How do I configure it, I think of the host's nginx to forward traffic to Docker
If you need to run two domain names in Docker, you have to open two containers, a container?
Nginx HTTP service via the host's Nginx HTTP reverse proxy to Docker
To run two domain names as long as the Nginx configuration two vhost can be, do not need to open two containers, specifically see business needs it
You can implement multiple service of Nginx in one container by setting the container alias of network