machine-config/bert/services/http/home.chandlerswift.com.nix

16 lines
349 B
Nix

{
services.caddy.virtualHosts."home.chandlerswift.com".extraConfig = ''
encode zstd gzip
file_server
root * /srv/home.chandlerswift.com
reverse_proxy /grafana/* localhost:3000
# hide .git # ???
'';
systemd.tmpfiles.settings."10-home-chandlerswift-com" = {
"/srv/home.chandlerswift.com" = {
d = {};
};
};
}