已安装nginx和乘客,但无法找到passenger.conf

时间:2018-04-01 22:41:07

标签: nginx passenger

我已经通过这些命令安装了nginx + passenger

input

它显示乘客已经是最新版本

' enter image description here

我想在我的/etc/nginx/nginx.conf中sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 sudo apt-get install -y apt-transport-https ca-certificates sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger xenial main > /etc/apt/sources.list.d/passenger.list' sudo apt-get update sudo apt-get install -y nginx-extras passenger

但我无法在/ etc / nginx /

中找到passenger.conf

enter image description here

所以当我include /etc/nginx/passenger.conf;sudo service nginx reload

它像这样失败

enter image description here

在乘客+ nginx安装成功后,它是否自动安装?

有什么想法解决这个问题?

由于

0 个答案:

没有答案