Fix Authelia auth and bypass from within Wireguard
This commit is contained in:
@@ -37,7 +37,9 @@ access_control:
|
|||||||
# traefik_internal
|
# traefik_internal
|
||||||
- 172.19.0.0/16
|
- 172.19.0.0/16
|
||||||
# Wireguard
|
# Wireguard
|
||||||
- 10.8.0.0/24
|
- 10.8.0.0/16
|
||||||
|
# Arr, for some reason
|
||||||
|
- 192.168.240.0/16
|
||||||
policy: bypass
|
policy: bypass
|
||||||
# Allow access to container's /api address
|
# Allow access to container's /api address
|
||||||
- domain:
|
- domain:
|
||||||
|
|||||||
@@ -98,7 +98,9 @@ services:
|
|||||||
- 'traefik.enable=true'
|
- 'traefik.enable=true'
|
||||||
- 'traefik.http.routers.authelia.rule=Host(`auth.pukeko.xyz`)'
|
- 'traefik.http.routers.authelia.rule=Host(`auth.pukeko.xyz`)'
|
||||||
- 'traefik.http.routers.authelia.entrypoints=websecure'
|
- 'traefik.http.routers.authelia.entrypoints=websecure'
|
||||||
|
- "traefik.http.routers.authelia.service=authelia-traefik@docker"
|
||||||
- 'traefik.http.routers.authelia.tls=true'
|
- 'traefik.http.routers.authelia.tls=true'
|
||||||
|
- "traefik.http.routers.authelia.tls.certresolver=pukekoresolver"
|
||||||
- 'traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/verify?rd=https://auth.pukeko.xyz/'
|
- 'traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/verify?rd=https://auth.pukeko.xyz/'
|
||||||
- 'traefik.http.middlewares.authelia.forwardauth.trustForwardHeader=true'
|
- 'traefik.http.middlewares.authelia.forwardauth.trustForwardHeader=true'
|
||||||
- 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User, Remote-Groups, Remote-Name, Remote-Email'
|
- 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User, Remote-Groups, Remote-Name, Remote-Email'
|
||||||
@@ -107,6 +109,8 @@ services:
|
|||||||
- 'traefik.http.middlewares.authelia-basic.forwardauth.authResponseHeaders=Remote-User, Remote-Groups, Remote-Name, Remote-Email'
|
- 'traefik.http.middlewares.authelia-basic.forwardauth.authResponseHeaders=Remote-User, Remote-Groups, Remote-Name, Remote-Email'
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
expose:
|
||||||
|
- 9091
|
||||||
secrets:
|
secrets:
|
||||||
hmac:
|
hmac:
|
||||||
file: ./authelia/secrets/hmac
|
file: ./authelia/secrets/hmac
|
||||||
|
|||||||
Reference in New Issue
Block a user