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;
|
2023-04-06 08:22:22 +03:00
|
|
|
root = "${inputs.blog.packages.${pkgs.system}.site}";
|
2022-08-11 02:57:40 +03:00
|
|
|
locations."/".extraConfig = ''
|
|
|
|
add_header cache-control max-age=1800;
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|