aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-07 15:14:03 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-11 23:55:30 +0200
commit97f5a24bc8839328571b23eb5f910de206ddbe1f (patch)
treec70cc819f8353176f782b45441e1b31492fa1b6d /modules/private/websites
parent619c894a9c905ad37cc43071965e4ab1e359df50 (diff)
downloadNix-97f5a24bc8839328571b23eb5f910de206ddbe1f.tar.gz
Nix-97f5a24bc8839328571b23eb5f910de206ddbe1f.tar.zst
Nix-97f5a24bc8839328571b23eb5f910de206ddbe1f.zip
Add documentation website
Diffstat (limited to 'modules/private/websites')
-rw-r--r--modules/private/websites/immae/production.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix
index ff9cf9d..8b4998f 100644
--- a/modules/private/websites/immae/production.nix
+++ b/modules/private/websites/immae/production.nix
@@ -6,6 +6,7 @@ let
6 rechercheDir = "/var/lib/buildbot/outputs/immae/recherche"; 6 rechercheDir = "/var/lib/buildbot/outputs/immae/recherche";
7 recettesDir = "/var/lib/buildbot/outputs/immae/recettes"; 7 recettesDir = "/var/lib/buildbot/outputs/immae/recettes";
8 historyDir = "/var/lib/buildbot/outputs/immae/history"; 8 historyDir = "/var/lib/buildbot/outputs/immae/history";
9 docsDir = "/var/lib/buildbot/outputs/immae/docs/";
9 env = config.myEnv.websites.immae; 10 env = config.myEnv.websites.immae;
10in { 11in {
11 options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; 12 options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website";
@@ -66,6 +67,14 @@ in {
66 Require all granted 67 Require all granted
67 </Directory> 68 </Directory>
68 69
70 Alias /docs ${docsDir}
71 <Directory ${docsDir}>
72 DirectoryIndex index.htm index.html
73 Options Indexes FollowSymLinks MultiViews Includes
74 AllowOverride All
75 Require all granted
76 </Directory>
77
69 Alias /eurl ${./eurl} 78 Alias /eurl ${./eurl}
70 <Directory ${./eurl}> 79 <Directory ${./eurl}>
71 DirectoryIndex index.htm index.html 80 DirectoryIndex index.htm index.html