mirror of https://gitlab.crans.org/nounous/nixos
Fix missing parenthesis
parent
0af3d1071c
commit
721133147d
|
|
@ -241,7 +241,9 @@ in
|
|||
};
|
||||
|
||||
# Entrée d’Anubis
|
||||
"${vhostName}-anubis" = mkIf (vhostConfig.anubisConfig != null) entryExtraConf // {
|
||||
"${vhostName}-anubis" = mkIf (vhostConfig.anubisConfig != null) (
|
||||
entryExtraConf
|
||||
// {
|
||||
serverName = "${vhostName}.crans.${mainTld}";
|
||||
locations."/" = {
|
||||
proxyPass = "http://unix:/run/anubis/anubis-${vhostName}/socket.sock";
|
||||
|
|
@ -251,7 +253,8 @@ in
|
|||
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