1
Icinga 1.6.0betaをインストールしました。これを使用して新しいWebインターフェイスをインストールしようとしました。manual。しかし、それはApacheのために書かれたものです。だから私は、インターフェイスを実行するためにnginxのための以下の設定ファイルを使用しましたが、成功しませんでした。エラーログでディレクトリ一覧が拒否されます。どんな助け?Icinga + Nginxの設定
注:は/ usr/local/icingaウェブ
server {
server_name developers.example.com;
access_log /var/log/nginx/dev.access.log;
error_log /var/log/nginx/dev.error.log;
root /data/developers;
location/{
index index.html index.htm index.php;
}
location /icinga-web/js/ext3/ {
alias /usr/local/icinga-web/lib/ext3/;
}
location /icinga-web/ {
if (!-e $request_filename) {
rewrite ^(/icinga-web)(/.*)$ /icinga-web/index.php?$2 last;
}
}
try_files $uri $uri/ /icinga-web/index.php?$args;
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_split_path_info ^(/icinga-web)(/.*)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
}
}