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