diff options
author | Alan Pearce | 2024-06-29 17:53:34 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-29 17:53:34 +0200 |
commit | c14e031eecf82d4fe18446b6649c93f60fd68f09 (patch) | |
tree | ab43cc2f4bbbe693df4fa4c58dcc2788abeca478 /system | |
parent | c320cec75be24c1169a439e9a4c3b2f0875a5c6f (diff) | |
download | nixfiles-c14e031eecf82d4fe18446b6649c93f60fd68f09.tar.lz nixfiles-c14e031eecf82d4fe18446b6649c93f60fd68f09.tar.zst nixfiles-c14e031eecf82d4fe18446b6649c93f60fd68f09.zip |
enable go vanity imports
Diffstat (limited to 'system')
-rw-r--r-- | system/linde.nix | 9 |
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 = { |