Skip to content

Commit dd782c1

Browse files
feat(video): authelia
1 parent 5c19b95 commit dd782c1

File tree

1 file changed

+51
-0
lines changed
  • reference_files/authelia-traefik/traefik

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
http:
2+
routers:
3+
pve1:
4+
entryPoints:
5+
- "https"
6+
rule: "Host(`pve1.local.example.com`)"
7+
middlewares:
8+
- authelia
9+
- default-headers
10+
tls: {}
11+
service: pve1
12+
services:
13+
pve1:
14+
loadBalancer:
15+
servers:
16+
- url: "https://192.168.0.11:8006"
17+
passHostHeader: true
18+
19+
middlewares:
20+
https-redirect:
21+
redirectScheme:
22+
scheme: https
23+
authelia:
24+
forwardAuth:
25+
address: "http://authelia:9091/api/verify?rd=https://auth.local.example.com"
26+
default-headers:
27+
headers:
28+
frameDeny: true
29+
sslRedirect: true
30+
browserXssFilter: true
31+
contentTypeNosniff: true
32+
forceSTSHeader: true
33+
stsIncludeSubdomains: true
34+
stsPreload: true
35+
stsSeconds: 15552000
36+
customFrameOptionsValue: SAMEORIGIN
37+
customRequestHeaders:
38+
X-Forwarded-Proto: https
39+
40+
default-whitelist:
41+
ipWhiteList:
42+
sourceRange:
43+
- "10.0.0.0/24"
44+
- "192.168.0.0/16"
45+
- "172.0.0.0/8"
46+
47+
secured:
48+
chain:
49+
middlewares:
50+
- default-whitelist
51+
- default-headers

0 commit comments

Comments
 (0)