diff --git a/modules/nginx.nix b/modules/nginx.nix index 1f58702..d103d41 100644 --- a/modules/nginx.nix +++ b/modules/nginx.nix @@ -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" = {