2022-08-11 02:57:40 +03:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
services.nginx.virtualHosts."gaze.systems" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
2022-08-14 10:07:26 +03:00
|
|
|
root = "${inputs.blog.packages.${pkgs.system}.blog}";
|
2022-08-11 02:57:40 +03:00
|
|
|
locations."/".extraConfig = ''
|
|
|
|
add_header cache-control max-age=1800;
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|