kb:internet:connectivity:traefik:start
Traefik
Changelog
- 2024-12-30: Init
Used more in the Docker concept, where configuration can be passed through labels. For containers without the overhead of Docker, one can run the binary directly. Idea is that Traefik is likely much more straightforward to configure with very sane defaults (nginx is my preferred reverse proxy, but is a tad overkill to configure and run).
Installation
Official binary releases here.
Hardening
TLS
Simple package for deploying TLS certificates, for use in LXC containers running as root: deploy_traefik_tls.tgz. Unpack, modify setup script to create proxy pass and point to certs and key, then run the script. Destroys any previous Traefik configuration, so watch out!
HTTP redirect to HTTPS
[entryPoints.web.http.redirections.entryPoint] to = "websecure" scheme = "https"
kb/internet/connectivity/traefik/start.txt · Last modified: 2 weeks ago ( 1 January 2025) by justin