remove the rewrite rule in nginx

This commit is contained in:
stupidcomputer 2024-06-15 21:57:21 -05:00
parent 53a9878e82
commit c1ff21e877
1 changed files with 0 additions and 8 deletions

View File

@ -194,14 +194,6 @@
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
root = "/var/www/beepboop.systems"; 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" = { services.nginx.virtualHosts."git.beepboop.systems" = {