Fix Regex to support GET queries

This commit is contained in:
Colin Hebert
2023-02-19 18:38:20 +11:00
parent 28b80ea961
commit d952b64eff

View File

@@ -44,7 +44,7 @@ access_control:
- domain_regex: '^prowlarr\.'
policy: bypass
resources:
- '^\d+/api(/|\?|$)' # Allow Torznab/Newznab access
- '^/\d+/api\?' # Allow Torznab/Newznab access
# Effective default policy, only allow admins with two-factor
- domain_regex: '.*'
policy: two_factor