diff --git a/nixos/machines/nginx/default.nix b/nixos/machines/nginx/default.nix index 20783f0..51b71ec 100644 --- a/nixos/machines/nginx/default.nix +++ b/nixos/machines/nginx/default.nix @@ -54,7 +54,11 @@ in { forceSSL = true; http2 = true; enableACME = true; + default = true; root = "/etc/main"; + locations."/very/hidden/index.html" = { + return = "301 https://youtu.be/dQw4w9WgXcQ"; + }; }; virtualHosts."auth.asraphiel.dev" = k8sProxy; @@ -116,6 +120,9 @@ in { from = "host"; } ]; + histogram_buckets = + [ 5.0e-3 1.0e-2 2.5e-2 5.0e-2 0.1 0.25 0.5 1 2.5 5 10 ]; + }]; };