removed 'www' and custom ACME from caddy and added secure boot feature

This commit is contained in:
naturallaw77 2024-01-29 13:14:16 -08:00
parent a682abd501
commit d043d7112b
1 changed files with 3 additions and 10 deletions

View File

@ -53,6 +53,8 @@ in
options = [ "nofail" ];
};
fileSystems."/boot/efi".options = [ "umask=0077" "defaults" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
networking.hostName = "nixos"; # Define your hostname.
@ -216,7 +218,7 @@ in
user = "caddy";
group = "root";
email = "${personalization.caddy_email_for_zerossl}";
acmeCA = "https://acme.zerossl.com/v2/DV90";
virtualHosts = {
"${personalization.wordpress_url}" = {
extraConfig = ''
@ -227,15 +229,6 @@ in
'';
};
"www.${personalization.wordpress_url}" = {
extraConfig = ''
encode gzip zstd
root * /var/lib/www/wordpress
php_fastcgi unix//run/phpfpm/mypool.sock
file_server browse
'';
};
"${personalization.nextcloud_url}" = {
extraConfig = ''
encode gzip zstd