Nginx containers to access uwsgi on host services, nginx configuration file is currently in the container,
I don't know how to modify now nginx configuration files in the container, can be accessed through the nginx container hosting django uwsgi service
CodePudding user response:
Container up before the specified port exposed to tryCodePudding user response:
I won't, bosses, solution to reassure me to learnCodePudding user response:
IP to the address of the host machine, directory do not change, whether can try; If not just create a container with the host machine directory mounted to the container,CodePudding user response:
I won't, and I'll light heavyweight solutionCodePudding user response:
Try small program: the cloud to meters, input: KESS4HK, knowledge about the architecture of cloud computing of the commission, may have a lookCodePudding user response:
If the host IP 172.17.0.1CodePudding user response:
Method 1: the corresponding directory mounted to the container inside, and make configuration changes to the inside of the container the actual pathMethod 2: nginx containers as an agent, directly to monitor 8080, pool configuration server hosting the actual IP + port