to use this:
-
put the files in
/etc/nginx/1. -
duplicate
nginx-site-templateinto/etc/nginx/sites-enabledto every site you want to serv.2 -
depending on your php version, edit
php_srvfastcgi_pass location.
1 for Bitnami OS images, use /opt/bitnami/nginx/conf instead of /etc/nginx
2 it's a common practice to put the files in /etc/nginx/sites-available and link them into /etc/nginx/sites-enabled, I ussualy don't do that.