Hi Francis, Thanks for your suggestions. The rule seems to work. Thanks very much! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282615,282975#msg-282975