To install nginx, you can just run sudo yum install nginx
in the terminal.
Fedora has a very helpful wiki page that details the steps on how to install Drupal.
At step no. 7 when it asks you to start Apache server, you can run nginx server instead by running service nginx start
.