summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/linde.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/linde.nix b/system/linde.nix
index c9da9e65..03edc328 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -779,6 +779,15 @@ in
               reverse_proxy ${srv.listenAddress}:${toString srv.port}
             '';
           };
+        "go.alanpearce.eu" = {
+          useACMEHost = "alanpearce.eu";
+          extraConfig = ''
+            encode zstd gzip
+            ${security-headers {}}
+            root * /srv/http/go
+            file_server
+          '';
+        };
       };
   };
   systemd.services.caddy.serviceConfig = {