I’m building a site running NginX / PHP and want all access to be processed by /private/routes.php. But I also want to add some exceptions to this for css/js-files and the odd php file in the public directory (and sub dirs). Folder / file structure: My current NginX config: The above config works but has some problems: I need to
Tag: nginx-config
How to run a shell script from a html page on raspberry Pi
I’m trying to have a button on a webpage, hosted on my raspberry Pi, shutdown a QNAP via a script. The script works when I run it from the pi command line. I’ve tested it. I can also see the html page is working, to a point where the key is added to the url when I click the button.
Nginx Php-fpm 7.3 Can’t read PHP files from a particular folder
We have a Magento 2 website. For some reason our Nginx/PHP-FPM is unable to read files from MAGEROOT/pub/ folder other than index.php. We are getting the following error in Nginx Log “Unable to open primary script: /home/goodprice/public_html/releases/current/pub/get.php (No such file or directory)” and the browser shows No input file specified. Here is the partial Nginx config file. This causes a