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