added local network ips bypass
This commit is contained in:
@@ -51,13 +51,24 @@ authentication_backend:
|
||||
|
||||
access_control:
|
||||
default_policy: deny
|
||||
networks:
|
||||
- name: internal
|
||||
networks:
|
||||
- '10.0.0.0/8'
|
||||
- '172.16.0.0/12'
|
||||
- '192.168.0.0/16'
|
||||
rules:
|
||||
## bypass all from local ips
|
||||
- domain: "*.akanealw.com"
|
||||
networks:
|
||||
- 'internal'
|
||||
policy: bypass
|
||||
## bypass api for subdomains
|
||||
- domain: "*.akanealw.com"
|
||||
resources:
|
||||
- "^/api([/?].*)?$"
|
||||
- "^/add([/?].*)?$"
|
||||
- "^/public([/?].*)?$"
|
||||
- "^/api([/?].*)?$"
|
||||
- "^/add([/?].*)?$"
|
||||
- "^/public([/?].*)?$"
|
||||
policy: bypass
|
||||
# bypass subdomains
|
||||
- domain:
|
||||
|
||||
Reference in New Issue
Block a user