local-nginx-tutorial/eg3/README.md

11 lines
386 B
Markdown
Raw Normal View History

# e.g. 3: Create an Ningx Reverse Proxy With Docker
2023-05-04 22:53:48 +10:00
[How To Run Multiple Docker Containers Under One URL](https://codingwithmanny.medium.com/create-an-nginx-reverse-proxy-with-docker-a1c0aa9078f1)
2023-05-04 23:45:36 +10:00
## Backend only
How to test it:
1. Comment all other containers
2. Run `docker compose build` & `docker compose up`
3. Test by `curl localhost:5000`, should return `{"version":"1.0.0"}`