diff --git a/.secrets-baseline b/.secrets-baseline index fc5e209..c9c00ff 100644 --- a/.secrets-baseline +++ b/.secrets-baseline @@ -132,7 +132,7 @@ "filename": "core/authelia.yml", "hashed_secret": "a32b08d97b1615dc27f58b6b17f67624c04e2c4f", "is_verified": false, - "line_number": 191, + "line_number": 189, "is_secret": false } ], @@ -187,5 +187,5 @@ } ] }, - "generated_at": "2024-01-08T22:56:56Z" + "generated_at": "2024-02-20T18:04:29Z" } diff --git a/core/authelia.yml b/core/authelia.yml index 8da887a..b8f6101 100644 --- a/core/authelia.yml +++ b/core/authelia.yml @@ -151,12 +151,10 @@ access_control: networks: 192.168.5.0/24 rules: - {{ range nomadVarList "authelia/access_control/service_rules" -}} - {{- with nomadVar .Path -}} + {{ range nomadVarList "authelia/access_control/service_rules" }}{{ with nomadVar .Path }} - domain: '{{ .name }}.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}' {{ .rule.Value | indent 6 }} - {{- end }} - {{- end }} + {{ end }}{{ end }} ## Rules applied to everyone - domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}' networks: