Its Preference to be honest.
Installing from source will require you to spend alot of time compiling libraries and choosing configuration options.
Using yum you wont have most of that hassle and just have to Configure nginx to run to your liking.
Pis : Model A, Model B, Pi2 Model B
I am a Proud Fedora Contributor