That seems like a very elegant way to handle the problem. I'll give it a shot. Thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265257,265282#msg-265282