rechercheDir = "/var/lib/buildbot/outputs/immae/recherche";
recettesDir = "/var/lib/buildbot/outputs/immae/recettes";
historyDir = "/var/lib/buildbot/outputs/immae/history";
+ docsDir = "/var/lib/buildbot/outputs/immae/docs/";
env = config.myEnv.websites.immae;
in {
options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website";
Require all granted
</Directory>
+ Alias /.well-known/matrix ${./matrix}
+ <Directory ${./matrix}>
+ Options Indexes FollowSymLinks MultiViews Includes
+ AllowOverride None
+ Require all granted
+ Header always set Access-Control-Allow-Origin "*"
+ </Directory>
+
Alias /cours ${coursDir}
<Directory ${coursDir}>
DirectoryIndex index.htm index.html
Require all granted
</Directory>
+ Alias /docs ${docsDir}
+ <Directory ${docsDir}>
+ DirectoryIndex index.htm index.html
+ Options Indexes FollowSymLinks MultiViews Includes
+ AllowOverride All
+ Require all granted
+ </Directory>
+
+ Alias /eurl ${./eurl}
+ <Directory ${./eurl}>
+ DirectoryIndex index.htm index.html
+ Options Indexes FollowSymLinks MultiViews Includes
+ AllowOverride None
+ Require all granted
+ </Directory>
+
Alias /recherche ${rechercheDir}
<Directory ${rechercheDir}>
DirectoryIndex index.htm index.html
certName = "immae";
addToCerts = true;
hosts = [ "bouya.org" "www.bouya.org" ];
- root = null;
+ root = rechercheDir;
extraConfig = [ ''
- RedirectMatch 301 ^/((?!\.well-known.*$).*)$ https://www.normalesup.org/~bouya/
+ <Directory ${rechercheDir}>
+ DirectoryIndex index.htm index.html
+ Options Indexes FollowSymLinks MultiViews Includes
+ AllowOverride All
+ Require all granted
+ </Directory>
'' ];
};
};