Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
And what's the problem? You have a general question that can be answered in the same general way.
You launch the nginx image, which, according to the config, will proxy to your running php images with projects.
UPD:
Take an nginx image , make a config (make a proxy on 8080)
Take a php image , forward ports instead of 80 to the one you need (8080:80)
Start nginx. Run php container. New project with PHP forward a new free port (8081:80), add new proxying to the nginx config, start a new project, restart nginx.
Or don't bring nginx into the image at all and reload the config without losing connections.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question