mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Fix frame-ancestors docs from none to self to not break Jitsi (#21128)
This commit is contained in:
parent
1d0c8351ec
commit
ed60c90081
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ If you are using nginx, this would look something like the following:
|
||||||
add_header X-Frame-Options SAMEORIGIN;
|
add_header X-Frame-Options SAMEORIGIN;
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
add_header Content-Security-Policy "frame-ancestors 'none'";
|
add_header Content-Security-Policy "frame-ancestors 'self'";
|
||||||
```
|
```
|
||||||
|
|
||||||
For Apache, the configuration looks like:
|
For Apache, the configuration looks like:
|
||||||
|
|
|
@ -162,7 +162,7 @@ Then you can deploy it to your cluster with something like `kubectl apply -f my-
|
||||||
add_header X-Frame-Options SAMEORIGIN;
|
add_header X-Frame-Options SAMEORIGIN;
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
add_header Content-Security-Policy "frame-ancestors 'none'";
|
add_header Content-Security-Policy "frame-ancestors 'self'";
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: element.example.nl
|
- host: element.example.nl
|
||||||
|
|
Loading…
Reference in a new issue