aboutsummaryrefslogtreecommitdiff
path: root/modules/services/web
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/web')
-rw-r--r--modules/services/web/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/services/web/default.nix b/modules/services/web/default.nix
new file mode 100644
index 0000000..b6a45af
--- /dev/null
+++ b/modules/services/web/default.nix
@@ -0,0 +1,10 @@
+{ ... }:
+{
+ services.caddy.virtualHosts = {
+ "tdback.net".extraConfig = ''
+ root * /var/www/tdback.net/
+ encode zstd gzip
+ file_server
+ '';
+ };
+}