diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-14 18:27:26 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-14 18:27:26 +0100 |
commit | f2a18fd63f6be24fec146080fe3663a3d0e9be55 (patch) | |
tree | 21cc58a4df5c336b0604c499ad0e2dcf6378457f /modules/private/websites/immae | |
parent | e77c7882968645ab066dc3d69b3eba83a3ff3e0b (diff) | |
download | Nix-f2a18fd63f6be24fec146080fe3663a3d0e9be55.tar.gz Nix-f2a18fd63f6be24fec146080fe3663a3d0e9be55.tar.zst Nix-f2a18fd63f6be24fec146080fe3663a3d0e9be55.zip |
Add recettes website
Diffstat (limited to 'modules/private/websites/immae')
-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 | }; |