mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Fix HTTP content-security-policy header typo
This commit is contained in:
parent
ae4eb22db9
commit
926842d949
@ -148,12 +148,12 @@ http {
|
|||||||
if ($http_referer ~ ^https://mempool.space/)
|
if ($http_referer ~ ^https://mempool.space/)
|
||||||
{
|
{
|
||||||
set $frameOptions "ALLOW-FROM https://mempool.space";
|
set $frameOptions "ALLOW-FROM https://mempool.space";
|
||||||
set $contentSecurityPolicy "ALLOW-FROM https://mempool.space";
|
set $contentSecurityPolicy "frame-ancestors https://mempool.space";
|
||||||
}
|
}
|
||||||
if ($http_referer ~ ^https://wiz.biz/)
|
if ($http_referer ~ ^https://wiz.biz/)
|
||||||
{
|
{
|
||||||
set $frameOptions "ALLOW-FROM https://wiz.biz";
|
set $frameOptions "ALLOW-FROM https://wiz.biz";
|
||||||
set $contentSecurityPolicy "ALLOW-FROM https://wiz.biz";
|
set $contentSecurityPolicy "frame-ancestors https://wiz.biz";
|
||||||
}
|
}
|
||||||
|
|
||||||
add_header X-Frame-Options $frameOptions;
|
add_header X-Frame-Options $frameOptions;
|
||||||
|
Loading…
Reference in New Issue
Block a user