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