From 64f954c779ead496fb6f4db7dec0427901453ce8 Mon Sep 17 00:00:00 2001 From: Akshay Mankar Date: Sat, 7 Jan 2023 21:17:24 +0100 Subject: [PATCH] flora-6: Serve pub.solar website --- hosts/flora-6/caddy.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/flora-6/caddy.nix b/hosts/flora-6/caddy.nix index b9b56c05..469e1b3a 100644 --- a/hosts/flora-6/caddy.nix +++ b/hosts/flora-6/caddy.nix @@ -36,6 +36,15 @@ reverse_proxy obs-portal.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.int.greenbaum.zone:3000 ''; }; + "pub.solar" = { + logFormat = lib.mkForce '' + output discard + ''; + extraConfig = '' + root * /srv/www/pub.solar/ + file_serve + ''; + }; }; }; networking.firewall.allowedTCPPorts = [ 80 443 ];