I am trying to install and use the nginx plugin, and found some problems with the pool creation process.
After installing openmediavault-nginx, I created a "pool" (with group/user www-data/www-data) to enable php. Then I created a Nginx "server", enabled php and chose the pool I have just created. The static pages worked fine in browser. The php page gives an 502 Gateway unavailable error.
After some quick investigation, I found that the pool created did not exist in /etc/php5/fpm/pool.d, and the socket file did not exist in /var/run. That seems to be the problem.
To verify that, I hand-edited the site file in /etc/nginx/sites-available to use the pool of /var/run/php5-fpm.sock (configured by /etc/php5/fpm/pool.d/www.conf). After a Nginx restart, the web pages (both static and php) works fine.
Could the author of the Nginx please take a look at this issue? Thanks.
OS: Debian wheezy 7.7
OpenMediaVault: 1.0.29
openmediavault-nginx: 1.0.10