Thanks for the help, and I have found the solution now, so I will post it in this thread. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276670,276832#msg-276832