Directive if has problems when used in location context, in some cases it doesn’t do what you expect but something completely different instead. In some cases it even segfaults. It’s generally a good idea to avoid it if possible.
Bonjour on vend des loadbalancers 2K€+ l'unité mais on est pas foutus de faire une methode if qui segfault pas.
Viva haproxy, VIVA LA REVOLUCION