diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-09-01 15:46:19 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-09-01 18:30:09 +0200 |
| commit | 7a7c28526353ec6f88a291c990285ba27b8e99a4 (patch) | |
| tree | d08aca1cf67e397b110baaafc7267c4fe9384c6c /hosts/tower/web/caddy.nix | |
| parent | 1ffea307409d72cf2d8ac91475dce44c98c8956a (diff) | |
tower: fix static host
Diffstat (limited to 'hosts/tower/web/caddy.nix')
| -rw-r--r-- | hosts/tower/web/caddy.nix | 11 |
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 + ''; + }; }; }; |
