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";
config = lib.mkIf cfg.enable {
+ myServices.chatonsProperties.enable = true;
services.webstats.sites = [ { name = "www.immae.eu"; } ];
services.websites.env.production.vhostConfs.immae_production = {
Require all granted
</Directory>
- Alias /.well-known/chatonsinfos ${./chatons}
- <Directory ${./chatons}>
+ 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}
Require all granted
</Directory>
- Alias /eurl ${./eurl}
- <Directory ${./eurl}>
+ Alias /docs ${docsDir}
+ <Directory ${docsDir}>
+ DirectoryIndex index.htm index.html
+ Options Indexes FollowSymLinks MultiViews Includes
+ AllowOverride All
+ Require all granted
+ </Directory>
+
+ Alias /eurl ${./sarl}
+ Alias /eurl ${./sarl}
+ <Directory ${./sarl}>
DirectoryIndex index.htm index.html
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride None