Update modules/nginx.nix

This commit is contained in:
Alexander Bantyev 2020-03-10 01:20:37 +03:00
parent b44af46bee
commit 7b4d323ee5

View File

@ -20,7 +20,9 @@
locations."/" = { locations."/" = {
root = "/var/lib/corona"; root = "/var/lib/corona";
index = "index.html"; index = "index.html";
extraConfig = "add_header 'Access-Control-Allow-Origin' '*';"; extraConfig = ''
add_header 'Access-Control-Allow-Origin' '*';
'';
}; };
} // default; } // default;
"cache.balsoft.ru" = { "cache.balsoft.ru" = {