to use this:
-
put the files in
/etc/nginx/
1. -
duplicate
nginx-site-template
into/etc/nginx/sites-enabled
to every site you want to serv.2 -
depending on your php version, edit
php_srv
fastcgi_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.