aboutsummaryrefslogtreecommitdiff
path: root/hosts/ganymede/caddy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/ganymede/caddy.nix')
-rw-r--r--hosts/ganymede/caddy.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/ganymede/caddy.nix b/hosts/ganymede/caddy.nix
new file mode 100644
index 0000000..adb07b5
--- /dev/null
+++ b/hosts/ganymede/caddy.nix
@@ -0,0 +1,12 @@
+{
+ services.caddy.virtualHosts."https://web.tail7cca06.ts.net".extraConfig = ''
+ bind tailscale/web
+ root * /var/www/williams_web
+ file_server
+
+ handle_path /papa_stories/* {
+ root * /var/www/papa_stories
+ file_server
+ }
+ '';
+}