};
config = (lib.mkIf cfg.production.enable {
- security.acme.certs."leila" = config.services.myCertificates.certConfig // {
- domain = "leila.bouya.org";
- extraDomains = {
- "chorale.leila.bouya.org" = null;
- "chorale-vocanta.fr.nf" = null;
- "www.chorale-vocanta.fr.nf" = null;
- };
- };
-
services.myPhpfpm.poolConfigs.leila = ''
listen = /run/phpfpm/leila.sock
user = wwwrun
services.websites.production.modules = [ "proxy_fcgi" ];
services.websites.production.vhostConfs.leila_chorale = {
certName = "leila";
+ addToCerts = true;
hosts = [ "chorale.leila.bouya.org" "chorale-vocanta.fr.nf" "www.chorale-vocanta.fr.nf" ];
root = "${varDir}/Chorale";
extraConfig = [
];
};
services.websites.production.vhostConfs.leila = {
- certName = "leila";
- hosts = [ "leila.bouya.org" ];
- root = varDir;
- extraConfig = [
+ certName = "leila";
+ certMainHost = "leila.bouya.org";
+ hosts = [ "leila.bouya.org" ];
+ root = varDir;
+ extraConfig = [
''
Use Stats leila.bouya.org
<Directory ${varDir}/Chorale>