diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/default.nix | 10 | ||||
-rw-r--r-- | lib/my.nix | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index 6517125..d121f5e 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -28,5 +28,13 @@ lib: _: rec { mkTcpMem = min: ini: max: assert min <= ini && ini <= max; - builtins.concatMapStrings (x: toString x + " ") (map (pow 2) [min ini max]); + lib.concatMapStrings (x: toString x + " ") (map (pow 2) [min ini max]); + + # TODO Move this somehow to the NGINX module itself. + nginxInternalOnly = '' + if ($internal != 1) { + return 403; + } + access_log off; + ''; } diff --git a/lib/my.nix b/lib/my.nix index a6d88cc..6f744bc 100644 --- a/lib/my.nix +++ b/lib/my.nix @@ -143,6 +143,8 @@ with lib; "alertmanager.${shire}" "frodo.${rohan}" "frodo.${gondor}" + "git.${azahi}" + "git.${shire}" "gotify.${shire}" "grafana.${shire}" "loki.${shire}" |