Traefik Allowlist V2
This commit is contained in:
parent
7506695e7d
commit
0c507ebfea
2 changed files with 3 additions and 3 deletions
|
|
@ -66,4 +66,4 @@ OPENID_CONFIG_URL=
|
|||
CORS_ALLOWED_ORIGIN=
|
||||
WEB_DOMAIN=
|
||||
FQDN=
|
||||
IPALLOWLIST=
|
||||
IPALLOWLIST=10.0.0.0/16,149.18.38.20/32,217.20.195.148/32
|
||||
|
|
@ -405,8 +405,8 @@ services:
|
|||
- traefik.http.routers.onyx-router.entrypoints=web,websecure
|
||||
- traefik.http.services.onyx-service.loadbalancer.server.port=80
|
||||
# IP Whitelist
|
||||
- traefik.http.middlewares.n8n-ip-whitelist.ipallowlist.sourcerange=${IPALLOWLIST}
|
||||
- traefik.http.routers.n8n-router.middlewares=n8n-ip-whitelist
|
||||
- traefik.http.middlewares.onyx-ip-whitelist.ipallowlist.sourcerange=${IPALLOWLIST}
|
||||
- traefik.http.routers.onyx-router.middlewares=onyx-ip-whitelist
|
||||
expose:
|
||||
- 3000
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue