mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-18 12:24:37 -05:00
explicitly block mixed content
This commit is contained in:
parent
144698a02f
commit
391d7ef680
@ -89,7 +89,7 @@ http {
|
||||
root /usr/share/webapps/element;
|
||||
|
||||
include snippets/security-headers.conf;
|
||||
add_header Content-Security-Policy "frame-ancestors 'self'";
|
||||
add_header Content-Security-Policy "frame-ancestors 'self'; block-all-mixed-content";
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
add_header X-Robots-Tag "none";
|
||||
}
|
||||
@ -102,7 +102,7 @@ http {
|
||||
root /var/empty;
|
||||
|
||||
include snippets/security-headers.conf;
|
||||
add_header Content-Security-Policy "frame-ancestors 'none'";
|
||||
add_header Content-Security-Policy "frame-ancestors 'none'; block-all-mixed-content";
|
||||
add_header X-Frame-Options "DENY";
|
||||
|
||||
location = / {
|
||||
@ -113,7 +113,7 @@ http {
|
||||
proxy_hide_header Content-Security-Policy;
|
||||
proxy_hide_header X-Frame-Options;
|
||||
include snippets/security-headers.conf;
|
||||
add_header Content-Security-Policy "frame-ancestors 'none'";
|
||||
add_header Content-Security-Policy "frame-ancestors 'none'; block-all-mixed-content";
|
||||
add_header X-Frame-Options "DENY";
|
||||
add_header X-Robots-Tag "none";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user