Enable Torznab/Newznab access

This commit is contained in:
Colin Hebert
2023-02-19 14:31:29 +11:00
parent 3c7a55d989
commit 418180fb59
2 changed files with 5 additions and 8 deletions

View File

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

View File

@@ -20,7 +20,7 @@ services:
networks:
- reverse-proxy
volumes:
- authelia_config:/config/
- ${NASCOMPOSE_SERVICES?}/authentication/volumes/authelia_config/:/config/
configs:
- source: authelia_configuration
target: /etc/authelia/configuration.yml
@@ -40,13 +40,6 @@ networks:
reverse-proxy:
external: true
volumes:
authelia_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/authentication/volumes/authelia_config/
configs:
authelia_configuration:
file: ${NASCOMPOSE_SERVICES?}/authentication/configs/configuration.yml