diff options
Diffstat (limited to 'host/Rory-nginx/hosts/rory.gay/git.nix')
-rwxr-xr-x | host/Rory-nginx/hosts/rory.gay/git.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/Rory-nginx/hosts/rory.gay/git.nix b/host/Rory-nginx/hosts/rory.gay/git.nix index 6aa5115..812e946 100755 --- a/host/Rory-nginx/hosts/rory.gay/git.nix +++ b/host/Rory-nginx/hosts/rory.gay/git.nix @@ -4,10 +4,10 @@ addSSL = true; extraConfig = '' autoindex on; - more_set_headers 'Access-Control-Allow-Origin' '*'; - more_set_headers 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; - more_set_headers 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; - more_set_headers 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; - more_set_headers 'Access-Control-Allow-Credentials' 'true'; + more_set_headers 'Access-Control-Allow-Origin: *'; + more_set_headers 'Access-Control-Allow-Methods: GET, POST, OPTIONS'; + more_set_headers 'Access-Control-Allow-Headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; + more_set_headers 'Access-Control-Expose-Headers: Content-Length,Content-Range'; + more_set_headers 'Access-Control-Allow-Credentials: true'; ''; } |