some changes, redo nginx

This commit is contained in:
randomuser 2024-02-06 19:45:32 -06:00
parent 6e41fc9cca
commit 7408a90720
2 changed files with 9 additions and 5 deletions

View File

@ -340,8 +340,9 @@ in {
return 301 https://mail.beepboop.systems;
'';
};
locations."~ \\.git" = {
locations."~* ^(.*)\\.git(/.*)?$" = {
extraConfig = ''
set $modified_path $1$2;
client_max_body_size 0;
include ${pkgs.nginx}/conf/fastcgi_params;

View File

@ -40,10 +40,13 @@
services.getty.autologinUser = "usr";
boot.loader = {
grub.timeoutStyle = "hidden";
timeout = 0;
grub.enable = true;
grub.device = "/dev/sda";
grub = {
timeoutStyle = "hidden";
enable = true;
device = "/dev/sda";
splashImage = null;
};
timeout = 1;
};
hardware.pulseaudio.enable = true;