Skip to content

Commit 9b0635c

Browse files
committed
Fix: Iframing allowed, restrict frame-ancestors to self
Fixes: #607
1 parent cb9de7f commit 9b0635c

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)