enable go vanity imports
Alan Pearce alan@alanpearce.eu
Sat, 29 Jun 2024 17:53:34 +0200
1 files changed, 9 insertions(+), 0 deletions(-)
jump to
M system/linde.nix → system/linde.nix
@@ -779,6 +779,15 @@ extraConfig = '' 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 = {