From be019800eb27b28f7cf2abe200c561ca7b74bacb Mon Sep 17 00:00:00 2001 From: owine Date: Tue, 24 Oct 2023 16:16:17 -0500 Subject: [PATCH] Notifiarr: Add Authelia, default config using Authelia proxy auth #294 --- defaults/settings.yml.default | 1 - roles/notifiarr/defaults/main.yml | 2 +- roles/notifiarr/templates/notifiarr.conf.j2 | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/defaults/settings.yml.default b/defaults/settings.yml.default index 5a14360b33..924ada869a 100644 --- a/defaults/settings.yml.default +++ b/defaults/settings.yml.default @@ -42,7 +42,6 @@ moviematch: plex_url: http://plex:32400 notifiarr: api_key: "api-key-from-notifiarr.com" - ui_password: "username:password" plex_meta_manager: time: "03:00" qbit_manage: diff --git a/roles/notifiarr/defaults/main.yml b/roles/notifiarr/defaults/main.yml index 4b77f69e0b..fd3a12f5c5 100644 --- a/roles/notifiarr/defaults/main.yml +++ b/roles/notifiarr/defaults/main.yml @@ -51,7 +51,7 @@ notifiarr_dns_proxy: "{{ dns.proxied }}" # Traefik ################################ -notifiarr_traefik_sso_middleware: "" +notifiarr_traefik_sso_middleware: "{{ traefik_default_sso_middleware }}" notifiarr_traefik_middleware_default: "{{ traefik_default_middleware }}" notifiarr_traefik_middleware_custom: "" notifiarr_traefik_certresolver: "{{ traefik_default_certresolver }}" diff --git a/roles/notifiarr/templates/notifiarr.conf.j2 b/roles/notifiarr/templates/notifiarr.conf.j2 index d127a778f9..c8bcf2af4b 100644 --- a/roles/notifiarr/templates/notifiarr.conf.j2 +++ b/roles/notifiarr/templates/notifiarr.conf.j2 @@ -12,7 +12,7 @@ api_key = "{{ notifiarr.api_key }}" ## Your auth proxy must pass the x-webauth-user header if you set this to "webauth". ## You may also set a custom auth header by setting to "webauth:
" e.g. "webauth:remote-user" ## Disable auth by setting this to "noauth". Not recommended. Requires "upstreams" being set. -ui_password = "{{ notifiarr.ui_password }}" +ui_password = "webauth:remote-user" ## The ip:port to listen on for incoming HTTP requests. 0.0.0.0 means all/any IP and is recommended! ## You may use "127.0.0.1:5454" to listen only on localhost; good if using a local proxy.