mirror of https://gitlab.crans.org/nounous/nixos
Fix missing parenthesis
parent
0af3d1071c
commit
721133147d
|
|
@ -241,17 +241,20 @@ in
|
|||
};
|
||||
|
||||
# Entrée d’Anubis
|
||||
"${vhostName}-anubis" = mkIf (vhostConfig.anubisConfig != null) entryExtraConf // {
|
||||
serverName = "${vhostName}.crans.${mainTld}";
|
||||
locations."/" = {
|
||||
proxyPass = "http://unix:/run/anubis/anubis-${vhostName}/socket.sock";
|
||||
proxyWebsockets = vhostConfig.proxyWebsockets;
|
||||
};
|
||||
extraConfig = entryExtraConf.extraConfig + ''
|
||||
access_log /var/log/nginx/anubis.access.log;
|
||||
error_log /var/log/nginx/anubis.error.log;
|
||||
'';
|
||||
};
|
||||
"${vhostName}-anubis" = mkIf (vhostConfig.anubisConfig != null) (
|
||||
entryExtraConf
|
||||
// {
|
||||
serverName = "${vhostName}.crans.${mainTld}";
|
||||
locations."/" = {
|
||||
proxyPass = "http://unix:/run/anubis/anubis-${vhostName}/socket.sock";
|
||||
proxyWebsockets = vhostConfig.proxyWebsockets;
|
||||
};
|
||||
extraConfig = entryExtraConf.extraConfig + ''
|
||||
access_log /var/log/nginx/anubis.access.log;
|
||||
error_log /var/log/nginx/anubis.error.log;
|
||||
'';
|
||||
}
|
||||
);
|
||||
}
|
||||
# Les alias
|
||||
// lib.mergeAttrsList (
|
||||
|
|
|
|||
Loading…
Reference in New Issue