A big project to administrate my websites, based on containerization. The idea is to give me flexibily and agility. The heart of the system is a nginx reverse proxy. It redirect http request to docker containers.
- add the config file to docker daemon
- Copy hosts locate in reverse-proxy/dev/hosts
git clone https://github.com/nginxinc/docker-nginx-amplify.git
cd docker-nginx-amplify
docker build -t nginx-amplify .
sudo cp docker-daemon.yml /etc/docker/daemon.yml
https://docs.nginx.com/nginx/admin-guide/security-controls/controlling-access-by-geoip/
Error page made by https://github.com/phawk/simple-error-pages