tyo0/element: apply hardening
This commit is contained in:
parent
9a903869a3
commit
0fed8fd708
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ id.ny4.dev {
|
||||||
element.ny4.dev {
|
element.ny4.dev {
|
||||||
import default
|
import default
|
||||||
root * @element@
|
root * @element@
|
||||||
|
header X-Frame-Options SAMEORIGIN;
|
||||||
|
header X-Content-Type-Options nosniff;
|
||||||
|
header X-XSS-Protection "1; mode=block";
|
||||||
|
header Content-Security-Policy "frame-ancestors 'self'";
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue