Re: Questions regarding upstream

2024-08-16 Thread Benedikt Heine via nginx
Hi, On 09.08.24 22:16, Sébastien Rebecchi wrote: 1. When is it better to use random load-balancing strategy rather than the default round-robin one (and vice-versa)? Random selects always one randomly, while round robin usually sends the next request to the next server in the list. Persona

nginx error_log as JSON

2023-09-25 Thread Benedikt Heine via nginx
Hi all, would it be feasible to have the nginx error log in JSON format? I personally wouldn't mind, if the message emitted by ngx.debug("msg") is still a big string. If the meta-information would be in JSON, it would save writing a custom parser for the messages. I'm currently thinking abou