I have the same issue in Centos.
I checked and I do have
- /etc/nginx/conf.d/phusion-passenger.conf - it contains passenger_root directive;
- /etc/nginx/modules.conf.d/phusion-passenger.conf - it contains load_module directive.
Also I checked:
[root nginx]# rpm -qa | grep nginx
sw-nginx-1.11.4.1-centos6.16100518.x86_64
[root nginx]# rpm -ql sw-nginx-1.11.4.1-centos6.16100518.x86_64
/etc/init.d/nginx
/etc/logrotate.d/nginx
/etc/nginx/conf.d
/etc/nginx/fastcgi.conf
/etc/nginx/fastcgi.conf.default
/etc/nginx/fastcgi_params
/etc/nginx/fastcgi_params.default
/etc/nginx/koi-utf
/etc/nginx/koi-win
/etc/nginx/mime.types
/etc/nginx/mime.types.default
/etc/nginx/modules.conf.d
/etc/nginx/nginx.conf
/etc/nginx/nginx.conf.default
/etc/nginx/scgi_params
/etc/nginx/scgi_params.default
/etc/nginx/uwsgi_params
/etc/nginx/uwsgi_params.default
/etc/nginx/win-utf
/etc/sysconfig/nginx
/usr/sbin/nginx
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/nginx.1.gz
/usr/share/nginx/modules/ngx_http_passenger_module.so
/var/lib/nginx
/var/log/nginx
Any ideas?
Thanks for your help.