diff options
author | tv <tv@krebsco.de> | 2020-07-13 09:46:19 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-07-13 09:46:19 +0200 |
commit | 6d769b73b4954d6bd215b00e5674eb41a034f57c (patch) | |
tree | c4960d7ed5dbd4daa92e8ba4402bbeaa72f04593 | |
parent | e26705c2deb776ff00a9963e8834fe26572db1f7 (diff) |
krebs git: use " instead of ''
-rw-r--r-- | krebs/3modules/git.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix index b2d2ec6cc..3b941b48d 100644 --- a/krebs/3modules/git.nix +++ b/krebs/3modules/git.nix @@ -454,7 +454,7 @@ let ''; # Smart HTTP transport. Regex based on. # https://github.com/git/git/blob/v2.27.0/http-backend.c#L708-L721 - locations.''~ "^/[0-9A-Za-z._-]+/(HEAD|info/refs|objects/info/(alternates|http-alternates|packs)|[0-9a-f]{2}/([0-9a-f]{38}|[0-9a-f]{62})|pack/pack-([0-9a-f]{40}|[0-9a-f]{64})\.(pack|idx)|git-upload-pack|git-receive-pack)$"''.extraConfig = '' + locations."~ \"^/[0-9A-Za-z._-]+/(HEAD|info/refs|objects/info/(alternates|http-alternates|packs)|[0-9a-f]{2}/([0-9a-f]{38}|[0-9a-f]{62})|pack/pack-([0-9a-f]{40}|[0-9a-f]{64})\\.(pack|idx)|git-upload-pack|git-receive-pack)$\"".extraConfig = '' include ${pkgs.nginx}/conf/fastcgi_params; fastcgi_param GIT_HTTP_EXPORT_ALL ""; fastcgi_param GIT_PROJECT_ROOT ${cfg.dataDir}; |