Browse Source

block per default

Permissions_policy
meaz 4 weeks ago
parent
commit
ee1b806873
Signed by: meaz GPG Key ID: CD7A47B2F1ED43B4
  1. 3
      templates/etc/nginx/sites-available/core.j2

3
templates/etc/nginx/sites-available/core.j2

@ -49,7 +49,8 @@ server {
{% if item.headers is defined and item.headers == 'none' %}
{% else %}
## HEADERS
{% if item.permissions_policy is defined %}
{% if item.permission_policy is defined and item.permission_policy == 'none' %}
{% else %}
add_header Permissions-Policy "geolocation=(),interest-cohort=()";
{% endif %}
{% if item.secure_site is defined %}

Loading…
Cancel
Save