mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-10-31 21:38:51 +00:00
Add CSP changes
This commit is contained in:
parent
6b25821972
commit
56896d2d63
1 changed files with 2 additions and 0 deletions
|
@ -89,6 +89,8 @@ server {
|
|||
location ~ ^/system/ {
|
||||
add_header Cache-Control "public, max-age=2419200, immutable";
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header Content-Security-Policy "default-src 'none'; form-action 'none'";
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue