I also encountered the same problem, but after 4 years, this feature has not been added to the latest version.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,258604,285566#msg-285566 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx