blob: 4a908f5270c7f94f515aafc1f9f32cc28edcc7c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ config, pkgs, ... }:
{
services.nginx.virtualHosts.quentin = {
serverName = "quentin.${config.networking.domain}";
locations."/".root = "${pkgs.personal.webpage}";
forceSSL = true;
enableACME = true;
extraConfig = ''
add_header Cache-Control no-cache;
'';
};
# automatically fetch (non-structural) website updates when updating the system
system.autoUpgrade.flags = [ "--update-input" "personal-webpage/data" ];
}
|