next upstream on timeout and 307

2024-03-06 Thread dronord
Hello! I have two(or more) http(rest) servers - main and backup. On error from main need redirect POST to backup, and if possible set him as main. Errors: - connection error/timeout - read timeout - 30x and 50x responses Can nginx help me?) ___ nginx

$request_time variable = 0 for small files.

2024-03-06 Thread Clima Gabriel
Greetings, I'm investigating a bug, super easy to reproduce. Thought you might be curious. Minimal Nginx config. Create two files. 100M and 1M: dd if=/dev/zero of=/var/www/file100M bs=100M count=1 dd if=/dev/zero of=/var/www/file1M bs=1M count=1 Get them files: curl --limit-rate 10M -o /dev/nul