Merge pull request 'add Permissions-Policy' (#7) from Permissions_policy into master
Reviewed-on: #7 Reviewed-by: muppeth <muppeth@no-reply@disroot.org> Reviewed-by: antilopa <antilopa@no-reply@disroot.org>
This commit is contained in:
commit
ac73da2014
|
@ -49,6 +49,10 @@ server {
|
|||
{% if item.headers is defined and item.headers == 'none' %}
|
||||
{% else %}
|
||||
## HEADERS
|
||||
{% 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 %}
|
||||
add_header X-Download-Options noopen;
|
||||
add_header X-Permitted-Cross-Domain-Policies none;
|
||||
|
|
Loading…
Reference in New Issue