You have to touch the .json file and chmod 600
- Clone this repository onto your vm
- Change all occurances of youremail@fake.com to your cloudflare email
- Change all occurances of example.com to your domain
- Update the tls.yaml to have the subdomain you would like and routers (with the proper IP of your internal VM)
- Set up your router to send all traffic on port 80 and 443 to the IP of the vm/container/whatever this is running on
- run the following command in the root of this directory (this file should live next to all of these files)
touch acme.json && chmod 600 acme.json
- Start the proxy
docker compose up -d
If you want to make updates, run the following to restart
docker compose down
docker compose up -d
If you want to check logs, run the following
docker logs traefik