From 0c20daac0e396ab0e5215c1212504ddd5937a2ca Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Tue, 12 Nov 2024 00:47:23 -0600 Subject: [PATCH] bert: Add harborpaperco.com hosting --- bert/services/http/harborpaperco.com.nix | 22 ++++++++++++++++++++++ bert/services/http/index.nix | 1 + 2 files changed, 23 insertions(+) create mode 100644 bert/services/http/harborpaperco.com.nix diff --git a/bert/services/http/harborpaperco.com.nix b/bert/services/http/harborpaperco.com.nix new file mode 100644 index 0000000..705b0b1 --- /dev/null +++ b/bert/services/http/harborpaperco.com.nix @@ -0,0 +1,22 @@ + +{ + services.caddy.virtualHosts."harborpaperco.com" = { + serverAliases = ["www.harborpaperco.com"]; + extraConfig = '' + encode zstd gzip + file_server + root * /srv/www/harborpaperco.com + ''; + }; + # services.caddy.virtualHosts."pureserendipityweddings.com" = { + # serverAliases = ["www.pureserendipityweddings.com"]; + # extraConfig = '' + # redir https://harborpaperco.com + # ''; + # }; + systemd.tmpfiles.settings."10-harborpaperco-com" = { + "/srv/www/harborpaperco.com" = { + d = {}; + }; + }; +} diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index 3054875..4420666 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -2,6 +2,7 @@ imports = [ ./files.chandlerswift.com.nix ./git.chandlerswift.com.nix + ./harborpaperco.com.nix ./home.chandlerswift.com.nix ./katherineandchandler.com.nix ./maps.chandlerswift.com.nix