blob: 2bbf7bf784efc2ad4469728add137c6e923450b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, config, pkgs, ... }:
let
cfg = config.myServices.websites.denise.aventuriers;
varDir = "/var/lib/buildbot/outputs/denise/aventuriers";
in {
options.myServices.websites.denise.aventuriers.enable = lib.mkEnableOption "enable Denise's Aventuriers website";
config = lib.mkIf cfg.enable {
services.websites.env.production.vhostConfs.denise_aventuriers = {
certName = "denise";
addToCerts = true;
hosts = [ "aventuriers.syanni.eu" ];
root = varDir;
extraConfig = [
''
<Directory ${varDir}>
DirectoryIndex aventuriers.html
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride None
Require all granted
</Directory>
''
];
};
};
}
|