aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower/web/blog.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/tower/web/blog.nix')
-rw-r--r--hosts/tower/web/blog.nix24
1 files changed, 24 insertions, 0 deletions
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;
+ };
+ };
+}