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