Linux proxy docker service
How to use.
- Create new config file like example.com for you service (myservice.conf).
- Configure server_name and porst, proxy_pass, redirects, servers and something else what you need with open ports.
- Add to hosts you new server_name
127.0.0.1 myserver.com 127.0.0.1 api.myserver.com
- Restart service
docker-compose up -d
- Use. Now you can use human readable url to you services.