Traefik: add security headers

Add the following to your traefik.yml http: middlewares: secure-headers: headers: # Enable HTTP Strict Transport Security (HSTS) stsSeconds: 31536000 stsPreload: true # X-Content-Type-Options header contentTypeNosniff: true # Prevent browser from running any kind of active content inside the page. frameDeny: t…

Traefik: redirect www to non-www

Add the following to your traefik.yml http: middlewares: www-redirect: redirectregex: regex: ^(?:https://)?(?:www\.)?(.+) replacement: https://${1} permanent: true Now you can just add the following label to your docker container: traefik.http.routers.REPLACE-THIS.middlewares: "www-redirect@file"…

Backing up Google Photos with Docker

💡From March 31, 2025 rclone can only download photos it uploaded. This limitation is due to policy changes at Google. See https://github.com/rclone/rclone/issues/8434 In this article I'll be using the rclone Docker container and a cron job to back up my Google Photos…

How to Stream Jellyfin to a Chromecast

You'll probably have a local domain for you're Jellyfin container, resolved via Pi-hole (something like jellyfin.box). And when casting from the Jellyfin app to a Chromecast, the screen is stuck on the Jellyfin logo. This is because the Chromecast can't resolve jellyfin.box.…