fixed custom root headers in proxy template

This commit is contained in:
muppeth 2023-01-17 17:25:07 +01:00
parent f1dca5629a
commit 8d2f3e7e5b
Signed by: muppeth
GPG Key ID: 0EBC7B9848D04031
1 changed files with 0 additions and 6 deletions

View File

@ -16,11 +16,6 @@
{% endif %}
{% if item.root_custom_headers is defined %}
#headers
{% for header in item.root_custom_headers %}
{{ header }}
{% endfor %}
{% if header.predef is defined and header.predef == 'none' %}
{% else %}
{% if header.permission_policy is defined and header.permission_policy == 'none' %}
{% else %}
add_header Permissions-Policy "geolocation=(),interest-cohort=()";
@ -57,7 +52,6 @@
{% else %}
add_header X-Robots-Tag "{{ header.robots | default('none') }}";
{% endif %}
{% endif %}
{% endif %}
}