I am trying to install Phusion Passenger module for Nginx. There was Nginx installed in /usr/sbin/nginx
. The installer gem downloaded Nginx sources and compiled them with Passenger support into /opt/nginx/sbin/nginx
. I copied this file into /usr/sbin/nginx
.
So currently I am in doubt which Nginx is running and which config file I should edit.
Is there some way to determine the location of actually used Nginx and which configuration file does it use?