diff options
Diffstat (limited to 'modules/private/websites/papa/maison_bbc.nix')
-rw-r--r-- | modules/private/websites/papa/maison_bbc.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/modules/private/websites/papa/maison_bbc.nix b/modules/private/websites/papa/maison_bbc.nix deleted file mode 100644 index 3eb736e..0000000 --- a/modules/private/websites/papa/maison_bbc.nix +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | { lib, config, ... }: | ||
2 | let | ||
3 | cfg = config.myServices.websites.papa.maison_bbc; | ||
4 | in { | ||
5 | options.myServices.websites.papa.maison_bbc.enable = lib.mkEnableOption "enable Papa Maison bbc website"; | ||
6 | |||
7 | config = lib.mkIf cfg.enable { | ||
8 | services.webstats.sites = [ { name = "maison.bbc.bouya.org"; } ]; | ||
9 | |||
10 | services.websites.env.production.vhostConfs.papa_maison_bbc = { | ||
11 | certName = "papa"; | ||
12 | addToCerts = true; | ||
13 | hosts = [ "maison.bbc.bouya.org" ]; | ||
14 | root = ./maison_bbc_static; | ||
15 | extraConfig = [ | ||
16 | '' | ||
17 | ErrorDocument 404 /index.html | ||
18 | <Directory ${./maison_bbc_static}> | ||
19 | DirectoryIndex index.htm index.html | ||
20 | AllowOverride None | ||
21 | Require all granted | ||
22 | </Directory> | ||
23 | '' | ||
24 | ]; | ||
25 | }; | ||
26 | }; | ||
27 | } | ||
28 | |||