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."/" = {
root = "/var/lib/corona";
index = "index.html";
extraConfig = "add_header 'Access-Control-Allow-Origin' '*';";
extraConfig = ''
add_header 'Access-Control-Allow-Origin' '*';
'';
};
} // default;
"cache.balsoft.ru" = {