Enable logging
Add synamic configs for authentik + gitea
This commit is contained in:
18
custom/authentik.yml
Normal file
18
custom/authentik.yml
Normal 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
16
custom/gitea_conf.yml
Normal 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"
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user