From c1ff21e8771de8f5fa98d0b6c52e3d4b3b366d77 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sat, 15 Jun 2024 21:57:21 -0500 Subject: [PATCH] remove the rewrite rule in nginx --- boxes/netbox/default.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index 08982e1..2e38b45 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -194,14 +194,6 @@ forceSSL = true; enableACME = true; root = "/var/www/beepboop.systems"; - locations."/" = { - extraConfig = '' - if ($request_uri ~ ^/(.*)\.html(\?|$)) { - return 302 /$1; - } - try_files $uri $uri.html $uri/ =404; - ''; - }; }; services.nginx.virtualHosts."git.beepboop.systems" = {