Thanks for your answer! It was exactly what I wanted. I'll use nginx-conf. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265742,265769#msg-265769