Update modules/nginx.nix
This commit is contained in:
parent
b44af46bee
commit
7b4d323ee5
@ -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" = {
|
||||||
|
Loading…
Reference in New Issue
Block a user