Skip to content

Commit 467a336

Browse files
fix(traefik-3): replace with ipallowlist
1 parent 70e2910 commit 467a336

File tree

3 files changed

+310
-310
lines changed

3 files changed

+310
-310
lines changed

_posts/2024-04-30-traefik-3-docker-certificates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ http:
410410
X-Forwarded-Proto: https
411411

412412
default-whitelist:
413-
ipWhiteList:
413+
ipAllowList:
414414
sourceRange:
415415
- "10.0.0.0/8"
416416
- "192.168.0.0/16"
@@ -575,7 +575,7 @@ http:
575575
X-Forwarded-Proto: https
576576

577577
default-whitelist:
578-
ipWhiteList:
578+
ipAllowList:
579579
sourceRange:
580580
- "10.0.0.0/8"
581581
- "192.168.0.0/16"
Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +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/8"
44-
- "192.168.0.0/16"
45-
- "172.0.0.0/12"
46-
47-
secured:
48-
chain:
49-
middlewares:
50-
- default-whitelist
51-
- default-headers
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+
ipAllowList:
42+
sourceRange:
43+
- "10.0.0.0/8"
44+
- "192.168.0.0/16"
45+
- "172.0.0.0/12"
46+
47+
secured:
48+
chain:
49+
middlewares:
50+
- default-whitelist
51+
- default-headers

0 commit comments

Comments
 (0)