Fix HTTP content-security-policy header typo

This commit is contained in:
wiz 2020-07-04 18:00:41 +09:00
parent ae4eb22db9
commit 926842d949
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -148,12 +148,12 @@ http {
if ($http_referer ~ ^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/)
{
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;