Webserver with Nginx 1.1.19 and PHP 5 FPM work great with serving PHP and showing output of mysql data.
I want to embed nagios in my application and so I needed .cgi scripts for the first time on this server. This didn't work. Then I made a simple echo hello world .cgi script and I still get 'Access Denied'.
I gave the file and all the folders above it Executive permissions (chmod +x)