mirror of
https://github.com/searxng/searxng-docker.git
synced 2025-02-19 20:00:04 +00:00
Add Permissions-Policy HTTP header to Caddyfile
This commit is contained in:
parent
4ad61d6499
commit
da360b26b9
@ -44,6 +44,9 @@
|
||||
X-Frame-Options "SAMEORIGIN"
|
||||
|
||||
# Disable some features
|
||||
Permissions-Policy "accelerometer=();ambient-light-sensor=(); autoplay=();camera=();encrypted-media=();focus-without-user-activation=(); geolocation=();gyroscope=();magnetometer=();microphone=();midi=();payment=();picture-in-picture=(); speaker=();sync-xhr=();usb=();vr=()"
|
||||
|
||||
# Disable some features (legacy)
|
||||
Feature-Policy "accelerometer 'none';ambient-light-sensor 'none'; autoplay 'none';camera 'none';encrypted-media 'none';focus-without-user-activation 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none'; speaker 'none';sync-xhr 'none';usb 'none';vr 'none'"
|
||||
|
||||
# Referer
|
||||
|
Loading…
Reference in New Issue
Block a user