build_simple_env.bat creates in docker fully configured nginx reverse proxy server in separate network and apache server. They are connected.
- Run Docker Desktop.
- Run batch script.
- Type localhost/www_server in your browser.
- Et voila.
If you want to add more services servers to the network and forward to them by nginx reverse proxy you need to add them manually in /etc/nginx/conf.d/default.conf.
The example used in this configuration:
location /www_server { proxy_pass http://WWW_SERVER_IP:8080/; }