};
customLog = {
extraConfig = ''
- LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedVhost
+ LogFormat "%{Host}i:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedVhost
'';
};
};
'';
};
- services.websites.production = {
+ services.filesWatcher.httpdProd.paths = [ "/var/secrets/apache-ldap" ];
+ services.filesWatcher.httpdInte.paths = [ "/var/secrets/apache-ldap" ];
+ services.filesWatcher.httpdTools.paths = [ "/var/secrets/apache-ldap" ];
+
+ services.websites.env.production = {
enable = true;
adminAddr = "httpd@immae.eu";
httpdName = "Prod";
};
};
- services.websites.integration = {
+ services.websites.env.integration = {
enable = true;
adminAddr = "httpd@immae.eu";
httpdName = "Inte";
};
};
- services.websites.tools = {
+ services.websites.env.tools = {
enable = true;
adminAddr = "httpd@immae.eu";
httpdName = "Tools";
tools.mediagoblin.enable = true;
tools.peertube.enable = true;
tools.tools.enable = true;
+ tools.email.enable = true;
};
};
}