To configure Nginx to process a PHP app, one can create a dedicated conf file under sites-available
and then create an according symlink under sites-enabled
, but I don't want to use this method - I prefer one global conf for running php scripts, for all projects. Something that could be putted inside nginx.conf
. I didn't find such a global conf anywhere.
Is there a Nginx global conf for running php scripts?