ark/hosts/wolumonde/modules/blog.nix
2023-05-08 23:09:44 +03:00

15 lines
288 B
Nix

{
pkgs,
inputs,
...
}: {
services.nginx.virtualHosts."gaze.systems" = {
useACMEHost = "gaze.systems";
forceSSL = true;
root = "${inputs.blog.packages.${pkgs.system}.site}";
locations."/".extraConfig = ''
add_header cache-control max-age=1800;
'';
};
}