From dcd2c4c4d71161301a956b7e4777b499f5010e74 Mon Sep 17 00:00:00 2001 From: Isabella Bastaja Date: Tue, 18 Aug 2026 20:07:35 +0200 Subject: tower: init --- hosts/tower/web/blog.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 hosts/tower/web/blog.nix (limited to 'hosts/tower/web/blog.nix') diff --git a/hosts/tower/web/blog.nix b/hosts/tower/web/blog.nix new file mode 100644 index 0000000..7cefd6e --- /dev/null +++ b/hosts/tower/web/blog.nix @@ -0,0 +1,24 @@ +{ + inputs, + pkgs, + # config, + ... +}: +{ + services.nginx = { + enable = true; + + virtualHosts."sorre.xyz" = { + # enableACME = true; + # forceSSL = true; + root = inputs.sorre-website.packages.${pkgs.system}.default; + }; + + virtualHosts."priv.sorre.xyz" = { + # enableACME = true; + # forceSSL = true; + root = "/var/www/priv"; + # basicAuthFile = config.sops.secrets."priv-blog-auth-file".path; + }; + }; +} -- cgit v1.3.1