diff options
Diffstat (limited to 'modules/private/websites')
-rw-r--r-- | modules/private/websites/immae/production.nix | 9 |
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; |
10 | in { | 11 | in { |
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 |