2021-04-10 20:51:00 +00:00
|
|
|
---
|
2019-11-02 14:32:58 +00:00
|
|
|
version: '3'
|
2017-10-14 13:04:43 +00:00
|
|
|
services:
|
|
|
|
httpbin:
|
|
|
|
image: citizenstig/httpbin
|
|
|
|
networks:
|
2019-01-27 14:54:29 +00:00
|
|
|
- authelianet
|
2020-05-06 01:50:37 +00:00
|
|
|
labels:
|
|
|
|
# Traefik 1.x
|
|
|
|
- 'traefik.frontend.rule=Host:public.example.com;Path:/headers'
|
|
|
|
- 'traefik.frontend.priority=120'
|
2023-01-25 09:36:40 +00:00
|
|
|
- 'traefik.frontend.auth.forward.address=https://authelia-backend:9091/api/authz/forward-auth'
|
2020-05-06 01:50:37 +00:00
|
|
|
- 'traefik.frontend.auth.forward.tls.insecureSkipVerify=true'
|
|
|
|
- 'traefik.frontend.auth.forward.trustForwardHeader=true'
|
2023-02-02 07:13:18 +00:00
|
|
|
- 'traefik.frontend.auth.forward.authResponseHeaders=Authorization,Proxy-Authorization,Remote-User,Remote-Groups,Remote-Email,Remote-Name'
|
2020-05-06 01:50:37 +00:00
|
|
|
# Traefik 2.x
|
2022-05-02 04:50:37 +00:00
|
|
|
- 'traefik.enable=true'
|
2020-05-06 01:50:37 +00:00
|
|
|
- 'traefik.http.routers.httpbin.rule=Host(`public.example.com`) && Path(`/headers`)'
|
|
|
|
- 'traefik.http.routers.httpbin.priority=150'
|
|
|
|
- 'traefik.http.routers.httpbin.tls=true'
|
2020-05-27 11:55:44 +00:00
|
|
|
- 'traefik.http.routers.httpbin.middlewares=authelia@docker'
|
2021-04-10 20:51:00 +00:00
|
|
|
...
|