From 7b4d323ee57360ab9267ca84a4df2a75d6e30c33 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 10 Mar 2020 01:20:37 +0300 Subject: [PATCH] Update modules/nginx.nix --- modules/nginx.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" = {