Fix missing parenthesis

reverseproxy
Pyjacpp 2026-07-06 12:09:04 +02:00
parent 0af3d1071c
commit 721133147d
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
1 changed files with 14 additions and 11 deletions

View File

@ -241,7 +241,9 @@ in
}; };
# Entrée dAnubis # Entrée dAnubis
"${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 (