Enable Torznab/Newznab access
This commit is contained in:
@@ -41,6 +41,10 @@ access_control:
|
|||||||
resources:
|
resources:
|
||||||
- '^/api$'
|
- '^/api$'
|
||||||
- '^/api(/|\?)'
|
- '^/api(/|\?)'
|
||||||
|
- domain_regex: '^prowlarr\.'
|
||||||
|
policy: bypass
|
||||||
|
resources:
|
||||||
|
- '^\d+/api$' # Allow Torznab/Newznab access
|
||||||
# Effective default policy, only allow admins with two-factor
|
# Effective default policy, only allow admins with two-factor
|
||||||
- domain_regex: '.*'
|
- domain_regex: '.*'
|
||||||
policy: two_factor
|
policy: two_factor
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- reverse-proxy
|
- reverse-proxy
|
||||||
volumes:
|
volumes:
|
||||||
- authelia_config:/config/
|
- ${NASCOMPOSE_SERVICES?}/authentication/volumes/authelia_config/:/config/
|
||||||
configs:
|
configs:
|
||||||
- source: authelia_configuration
|
- source: authelia_configuration
|
||||||
target: /etc/authelia/configuration.yml
|
target: /etc/authelia/configuration.yml
|
||||||
@@ -40,13 +40,6 @@ networks:
|
|||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
authelia_config:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
o: bind
|
|
||||||
device: ${NASCOMPOSE_SERVICES?}/authentication/volumes/authelia_config/
|
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
authelia_configuration:
|
authelia_configuration:
|
||||||
file: ${NASCOMPOSE_SERVICES?}/authentication/configs/configuration.yml
|
file: ${NASCOMPOSE_SERVICES?}/authentication/configs/configuration.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user