wtsang11 / TechExplore

MIT License
0 stars 0 forks source link

Introduction #187

Open wtsang11 opened 2 years ago

wtsang11 commented 2 years ago

http://localhost/TechNotes/wp-admin/post.php?post=1454&action=edit

VSC: http://localhost/lab/python/utilities/study_codes/opencodes.php?f=/Users/wtsang/Lab/docker/michael_learning_nginx/

wtsang11 commented 2 years ago

Attach to a container for study

docker exec -it sh

-- see processes running ps -- see nginx help nginx -h -- test if nginx config is ok nginx -t -- test and list nginx config nginx -T | less -- restart nginx https://vyspiansky.github.io/2018/03/01/reload-nginx-on-alpine/

wtsang11 commented 2 years ago

Relevant Concepts

-- ** Creating multiple nginx containers for load balancing demo https://www.youtube.com/watch?v=BSKox1DEsQo&ab_channel=OnlineTutorials -- Proxy vs Reverse Proxy https://www.youtube.com/watch?v=ozhe__GdWC8&ab_channel=HusseinNasser -- nginx as reverse proxy in docker -- illustrating implementation with nginx https://www.youtube.com/watch?v=hxngRDmHTM0&ab_channel=WesDoyle github for this demo https://github.com/productive-dev/minimal-reverse-proxy-demo