Skip to content

Commit d05fb53

Browse files
authored
Merge pull request #608 from docat-org/fix/607-iframing-allowed
Fix: Iframing allowed, restrict frame-ancestors to self
2 parents cb9de7f + 9b0635c commit d05fb53

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docat/docat/nginx/default

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ server {
88

99
root /var/www/html;
1010

11+
add_header Content-Security-Policy "frame-ancestors 'self';";
1112
index index.html index.htm index.pdf /index.html;
1213

1314
server_name _;

0 commit comments

Comments
 (0)