Hello,
I'm new with traefik, so i'm sorry if my question is a bit odd. I've tried to search the web for a solution but could not find anything. So i was hoping somebody could help me here.
So why i'm moving to Traefik? I first used Nginx Proxy Manager, but do a recent youtube video about security i've decided to move to Traefik. On my Nginx Proxy Manager I had acceslists, so I could enter my application only from home and work.
I'll but a fake config example here:"
http:
routers:
fake-service:
entryPoints:
- "https"
rule: "Host(`fake.fakedomein.com`)"
middlewares:
- default-headers
tls:
certResolver: http
service: fake-service
services:
fake-service:
loadBalancer:
servers:
- url: "http://10.0.0.105:80"
passHostHeader: true
middlewares:
https-redirect:
redirectScheme:
scheme: https
default-headers:
headers:
frameDeny: true
sslRedirect: true
browserXssFilter: true
contentTypeNosniff: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
default-whitelist:
ipWhiteList:
sourceRange:
- "10.0.0.0/23"
- "84.100.245.80/32"
ipStrategy:
depth: 0
secured:
chain:
middlewares:
- default-whitelist
- default-headers
So what i want is the following: I want a acceslist / whitelist in there routers / services so my application is not open for the whole world. Is it possible? I've found some things about ClientIP but could not get it to work.
Thanx in advanced!