Fix the CORS header for static.danilafe.com
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
3888606d8c
commit
a527e746d9
|
@ -13,6 +13,11 @@ let
|
||||||
root = web-files;
|
root = web-files;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
extraConfig = ''
|
||||||
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
allVirtualHosts = [webFiles] ++ map blog.virtualHostFor [productionSite draftSite];
|
allVirtualHosts = [webFiles] ++ map blog.virtualHostFor [productionSite draftSite];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user