我正在尝试使用 nginx 部署我的 rails 应用程序,但我得到了两个配置文件
1.The one installed globally by my OS's package manager (/usr/sbin/nginx). This uses /etc/nginx/nginx.conf as configuration file by default.
2.The one installed by Phusion Passenger (/opt/nginx/sbin/nginx). This uses /opt/nginx /conf/nginx.conf as configuration file by default.
当我用第二个配置我的应用程序时,我真的不明白现在该怎么做。它如何响应并拒绝第一个?