Enable logging

Add synamic configs for authentik + gitea
This commit is contained in:
2026-04-06 23:12:57 +00:00
parent 17a28f46e3
commit d56496aab2
3 changed files with 35 additions and 1 deletions

18
custom/authentik.yml Normal file
View File

@@ -0,0 +1,18 @@
http:
middlewares:
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
- X-authentik-jwt
- X-authentik-meta-jwks
- X-authentik-meta-outpost
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version

16
custom/gitea_conf.yml Normal file
View File

@@ -0,0 +1,16 @@
http:
routers:
gitea:
entryPoints:
- websecure
service: gitea
rule: "Host(`gitea.nearfuture.industries`)"
tls:
certresolver: myresolver
#middlewares:
#- authentik@file
services:
gitea:
loadBalancer:
servers:
- url: "http://192.168.1.101:8418"

View File

@@ -43,7 +43,7 @@ log:
# Optional
# Default: "ERROR"
#
# level: DEBUG
level: DEBUG
# Sets the filepath for the traefik log. If not specified, stdout will be used.
# Intermediate directories are created if necessary.