In Docusaurus v2 I want to implement some security headers. But I couldn't find any documentation about security headers in Docusaurus. Here are some header I want to add, especially to prevent other embed my docusaurus web as iframe.
headers: [
{
key: 'X-XSS-Protection',
value: '1; mode=block',
},
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'X-Download-Options',
value: 'noopen',
},
{
key: 'Cache-Control',
value: 'no-store',
},
{
key: 'X-Frame-Options',
value: 'SAMEORIGIN',
},
],
How do I do this?