gitlab: fix bool filter for csp enabled conf
This commit is contained in:
parent
786720e415
commit
7a17ef277e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ services:
|
|||
|
||||
# CSP config
|
||||
gitlab_rails['content_security_policy'] = {
|
||||
enabled: {{ gitlab_csp.enabled | default(true) }},
|
||||
enabled: {{ gitlab_csp.enabled | default(true) | bool | lower }},
|
||||
report_only: false,
|
||||
directives: {
|
||||
default_src: "'self' {{ gitlab_csp.default_src | default("") }}",
|
||||
|
|
Loading…
Add table
Reference in a new issue