Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 807 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 807 Bytes

Configuration for traefik running in docker

Features

  • Certresolver for ssl certificates
  • Redirect www to non-www
  • Redirect http to https
  • Remove X-Powered-By Header
  • Enables Traefik Dashboard

Dependencies

  • Docker and docker compose installed on your server

Get started

  • Create a folder "traefik" on your server
  • Inside of the "traefik" folder create another folder "data"
  • Inside of the "data" folder create an empty "acme.json" file with chown 600
  • Copy the traefik.yaml from this repo into the data folder and make your adjustments
  • Copy the docker-compose.yaml from this repo into the "traefik" folder and make your adjustments
  • Run docker compose up -d
  • Drink a coffee and have fun ☕

Special Thanks to @mxmxchere for his support!🔥