ark/hosts/wolumonde/modules/blog.nix

15 lines
291 B
Nix
Raw Normal View History

2022-08-11 02:57:40 +03:00
{
pkgs,
inputs,
...
}: {
services.nginx.virtualHosts."gaze.systems" = {
2023-05-08 23:09:44 +03:00
useACMEHost = "gaze.systems";
2022-08-11 02:57:40 +03:00
forceSSL = true;
2024-08-15 14:23:25 +03:00
root = "${inputs.blog.packages.${pkgs.system}.default}";
2022-08-11 02:57:40 +03:00
locations."/".extraConfig = ''
add_header cache-control max-age=1800;
'';
};
}