ftdetect *.nginx

Seems obvious to me :-)

Hope you'll accept it.