first commit

This commit is contained in:
mk
2026-01-01 11:51:43 -03:00
commit cf9f166d6b
8 changed files with 552 additions and 0 deletions

31
home/traefik/dynamic.yml Normal file
View File

@@ -0,0 +1,31 @@
# Traefik Dynamic Configuration
# Add services here - Traefik watches this file and reloads automatically
http:
middlewares:
https-headers:
headers:
customRequestHeaders:
X-Forwarded-Proto: "https"
routers:
#EXAMPLE
example-app:
rule: "Host(`exampledomain.com`) || Host(`subdomain.exampledomain.com`)"
entryPoints:
- web
- websecure
example-app: blog
#/EXAMPLE
services:
#EXAMPLE
example-app:
loadBalancer:
servers:
- url: "http://example-docker:80"
#/EXAMPLE
serversTransports:
insecure-transport:
insecureSkipVerify: true

17
home/traefik/traefik.yml Normal file
View File

@@ -0,0 +1,17 @@
# Traefik Static Configuration
api:
dashboard: true
insecure: true # Dashboard on port 8080 - only accessible via WireGuard
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
file:
filename: /etc/traefik/dynamic.yml
watch: true