A minimal Traefik setup for Https certificates generation and renewal demo.
- Clone this repository
- Run
cp .env.example .envand edit the.envfile to your needs. - Point your domain to the server ip address.
- Run
make rsyncto push the configuration to server. - Run
make startto (re)start the containers. - Wait a bit for the certificates to be generated, and then you should be able to access your services through https.
sudo ufw allow OpenSSH
sudo ufw allow http
sudo ufw allow https
sudo ufw allow from 172.18.0.0/16 # check this by `docker network inspect traefik-proxy`
sudo ufw enable