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 # Entrée dAnubis
"${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 (