diff options
Diffstat (limited to 'modules/private/websites/immae/production.nix')
-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 3d76b86..dff1053 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix | |||
@@ -4,6 +4,7 @@ let | |||
4 | varDir = "/var/lib/buildbot/outputs/immaeEu"; | 4 | varDir = "/var/lib/buildbot/outputs/immaeEu"; |
5 | coursDir = "/var/lib/buildbot/outputs/cours"; | 5 | coursDir = "/var/lib/buildbot/outputs/cours"; |
6 | rechercheDir = "/var/lib/buildbot/outputs/recherche"; | 6 | rechercheDir = "/var/lib/buildbot/outputs/recherche"; |
7 | recettesDir = "/var/lib/buildbot/outputs/recettes"; | ||
7 | env = config.myEnv.websites.immae; | 8 | env = config.myEnv.websites.immae; |
8 | in { | 9 | in { |
9 | options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; | 10 | options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; |
@@ -55,6 +56,14 @@ in { | |||
55 | AllowOverride All | 56 | AllowOverride All |
56 | Require all granted | 57 | Require all granted |
57 | </Directory> | 58 | </Directory> |
59 | |||
60 | Alias /recettes ${recettesDir} | ||
61 | <Directory ${recettesDir}> | ||
62 | DirectoryIndex index.htm index.html | ||
63 | Options Indexes FollowSymLinks MultiViews Includes | ||
64 | AllowOverride All | ||
65 | Require all granted | ||
66 | </Directory> | ||
58 | '' | 67 | '' |
59 | ]; | 68 | ]; |
60 | }; | 69 | }; |