aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower/web
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-09-01 15:46:19 +0200
committerIsabella Bastaja <isabella@sorre.xyz>2026-09-01 18:30:09 +0200
commit7a7c28526353ec6f88a291c990285ba27b8e99a4 (patch)
treed08aca1cf67e397b110baaafc7267c4fe9384c6c /hosts/tower/web
parent1ffea307409d72cf2d8ac91475dce44c98c8956a (diff)
tower: fix static host
Diffstat (limited to 'hosts/tower/web')
-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
+ '';
+ };
};
};