1 { lib, pkgs, config, ... }:
3 cfg = config.myServices.websites.nassime.production;
4 varDir = "/var/lib/ftp/nassime";
5 env = config.myEnv.websites.nassime;
7 options.myServices.websites.nassime.production.enable = lib.mkEnableOption "enable Nassime's website";
9 config = lib.mkIf cfg.enable {
10 services.webstats.sites = [ { name = "nassime.bouya.org"; } ];
12 security.acme.certs."ftp".extraDomains."nassime.bouya.org" = null;
14 services.websites.env.production.vhostConfs.nassime = {
16 certMainHost = "nassime.bouya.org";
17 hosts = ["nassime.bouya.org" ];
21 Use Stats nassime.bouya.org
22 ServerAdmin ${env.server_admin}
25 DirectoryIndex index.php index.htm index.html
26 Options Indexes FollowSymLinks MultiViews Includes