First commit

This commit is contained in:
2026-11-17 21:48:36 +01:00
parent a3014ae75d
commit 1366d6b69d
35 changed files with 3770 additions and 1 deletions
View File
+22
View File
@@ -0,0 +1,22 @@
http:
middlewares:
# Forward every request to authentik's embedded outpost; unauthenticated users get redirected to login.
authentik:
forwardAuth:
address: http://authentik-server:9000/outpost.goauthentik.io/auth/traefik
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-email
- X-authentik-name
- X-authentik-uid
secure-headers:
headers:
frameDeny: true
contentTypeNosniff: true
referrerPolicy: same-origin
stsSeconds: 31536000
customResponseHeaders:
X-Robots-Tag: "noindex, nofollow"
+10
View File
@@ -0,0 +1,10 @@
# Optional: use your own certificate (e.g. made with mkcert for *.home.lan).
# Put the files in ./traefik/certs and uncomment. Without this (and without Let's Encrypt)
# Traefik serves its built-in self-signed certificate.
#
# tls:
# stores:
# default:
# defaultCertificate:
# certFile: /certs/local.crt
# keyFile: /certs/local.key
+43
View File
@@ -0,0 +1,43 @@
# Traefik static configuration
api:
dashboard: false
log:
level: INFO
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
http:
tls: {}
# Uncomment to get real certificates via Let's Encrypt DNS challenge
# (works for LAN-only hosts as long as you own the domain):
# tls:
# certResolver: letsencrypt
# domains:
# - main: "example.com"
# sans: ["*.example.com"]
providers:
docker:
exposedByDefault: false
network: finance_proxy
file:
directory: /etc/traefik/dynamic
watch: true
# certificatesResolvers:
# letsencrypt:
# acme:
# email: you@example.com
# storage: /acme/acme.json
# dnsChallenge:
# provider: cloudflare # set CF_DNS_API_TOKEN in .env (or use another provider)
# resolvers: ["1.1.1.1:53"]