0
デフォルトのLibreNMSは、nginxを実行している新鮮なDebian Jessieサーバにインストールしますが、デフォルトのランディングページ(他の仮想ホストがないので)は空白のページを表示します。の/ etc/nginxの/サイト利用可能/デフォルトでマイnginxの設定ファイルは以下のようである:Nginxのデフォルトのlibrenms PHPページの空白
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /opt/librenms/html;
index index.php;
access_log /opt/librenms/logs/access_log;
error_log /opt/librenms/logs/error_log;
location/{
try_files $uri $uri/ @librenms;
}
location ~ \.php {
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
location ~ /\.ht {
deny all;
}
location @librenms {
rewrite api/v0(.*)$ /api_v0.php/$1 last;
rewrite ^(.+)$ /index.php/$1 last;
}
}
/opt/librenms/logs/error_log
渡された-t nginxの、そして何も、私は/opt/librenms/logs/access_log
内からアクセスし、ブラウザを示すだけでエントリー。 netstatはポート80で聞いているnginxを表示します。何が欠けていますか?