php5-fpm と mysql を使用して nginx をインストールしました。これが私の構成です
root /var/www;
index index.html index.htm index.php
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
正常に起動し、実行する代わりにファイルをダウンロードしていました。私はそれがphp-fpmエンジンの問題であることを知っています。
しかし、今ではサーバーが停止し、最初に来るnginxへのようこそではなく、ページの読み込みの問題で応答しますそして、私が見るターミナルで
"user" directive makes sense only if the master process runs with super-user privileges,
nginx: [emerg] "fastcgi_pass" directive is not allowed here in/etc/nginx/sites-enabled/default~:68
その問題を解決するのを手伝ってください。