From f2a18fd63f6be24fec146080fe3663a3d0e9be55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 14 Mar 2020 18:27:26 +0100 Subject: Add recettes website --- modules/private/websites/immae/production.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/private/websites/immae') 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 varDir = "/var/lib/buildbot/outputs/immaeEu"; coursDir = "/var/lib/buildbot/outputs/cours"; rechercheDir = "/var/lib/buildbot/outputs/recherche"; + recettesDir = "/var/lib/buildbot/outputs/recettes"; env = config.myEnv.websites.immae; in { options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; @@ -55,6 +56,14 @@ in { AllowOverride All Require all granted + + Alias /recettes ${recettesDir} + + DirectoryIndex index.htm index.html + Options Indexes FollowSymLinks MultiViews Includes + AllowOverride All + Require all granted + '' ]; }; -- cgit v1.2.3