Can't access test.php on web-server as first step to Install Moodle on CentOS 7 with NGINX instead of apache. I can see the nginx page on my server by typing 127.0.0.1 or localhost but if I try to go to moodle/admin/cli/install.p
hp I get a 404 error. I tried to put a test.php file everywhere like I am used to doing with apache on Ubuntu and windows but I'm not having any luck. This is a hyper-v virtual server as I always use with access right now inside my network. I have edited three main files below. I have been following this link step by step and this is the last and easiest step but I can't seem to figure out what I'm missing. I don't have to have https - I'm fine with http but am not sure how to change that in the conf file.
link I'm following: https://www.howtoforge.com/tutorial/how-to-install-moodle-32-on-centos-7/
The files I'm trying to edit to make it work
One clue I have is I read fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_scr
ipt_name; What this line does is tell PHP which file it should execute, without this nginx and PHP cannot work together.
I'm getting 403 error: "403" is actually an HTTP status code that means that the web server has received and understood your request, but that it cannot take any further action
I'm not sure what the difference btwn fast_param and fastcgi or if those matter.
Thanks in advance for helping me find a solution so I can do the last easiest step installing Moodle (install.php) which I can't access.