aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower/web/caddy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/tower/web/caddy.nix')
-rw-r--r--hosts/tower/web/caddy.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/hosts/tower/web/caddy.nix b/hosts/tower/web/caddy.nix
index 59c5353..5efdbc3 100644
--- a/hosts/tower/web/caddy.nix
+++ b/hosts/tower/web/caddy.nix
@@ -116,10 +116,13 @@ in
'';
};
- "static.sorre.xyz".extraConfig = ''
- root /var/lib/www/static
- file_server
- '';
+ "http://static.sorre.xyz" = {
+ listenAddresses = [ wg-ip ];
+ extraConfig = ''
+ root /var/lib/www/static
+ file_server
+ '';
+ };
};
};