some changes, redo nginx
This commit is contained in:
parent
6e41fc9cca
commit
7408a90720
|
@ -340,8 +340,9 @@ in {
|
||||||
return 301 https://mail.beepboop.systems;
|
return 301 https://mail.beepboop.systems;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
locations."~ \\.git" = {
|
locations."~* ^(.*)\\.git(/.*)?$" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
set $modified_path $1$2;
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|
||||||
include ${pkgs.nginx}/conf/fastcgi_params;
|
include ${pkgs.nginx}/conf/fastcgi_params;
|
||||||
|
|
|
@ -40,10 +40,13 @@
|
||||||
services.getty.autologinUser = "usr";
|
services.getty.autologinUser = "usr";
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
grub.timeoutStyle = "hidden";
|
grub = {
|
||||||
timeout = 0;
|
timeoutStyle = "hidden";
|
||||||
grub.enable = true;
|
enable = true;
|
||||||
grub.device = "/dev/sda";
|
device = "/dev/sda";
|
||||||
|
splashImage = null;
|
||||||
|
};
|
||||||
|
timeout = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.pulseaudio.enable = true;
|
hardware.pulseaudio.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue