Nginx für Icinga Web 2 konfigurieren
Hallo,
ich versuche gerade, nginx für Icinga Web 2 zu konfigurieren (mithilfe dieser Anleitung) und bin leider wegen dieser Fehlermeldung nicht in der Lage, den Dienst von nginx zu starten:
Vielleicht kann mir jemand sagen, woran es liegen könnte. Wir betreiben keinen Proxyserver oder sowas ähnliches.
So sieht die Konfiguration aus:
ich versuche gerade, nginx für Icinga Web 2 zu konfigurieren (mithilfe dieser Anleitung) und bin leider wegen dieser Fehlermeldung nicht in der Lage, den Dienst von nginx zu starten:
Failed to start a high performance web server and a reverse proxy server.
Vielleicht kann mir jemand sagen, woran es liegen könnte. Wir betreiben keinen Proxyserver oder sowas ähnliches.
So sieht die Konfiguration aus:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
server {
listen 80;
server_name hostname.domain.de;
index index.php;
root /usr/share/icingaweb2/public;
error_log /var/log/nginx/error.log;
}
location = /favicon.ico {
log_not_found off;
access_log off;
expires max;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location ~ \..*/.*\.php$ {
return 403;
}
if (!-d $request_filename) {
rewrite ^/(.+)/$ /$1 permanent;
}
location / {
try_files $1 $uri $uri/ /index.php$is_args$args;
}
location ~ ^/index\.php(.*)$ {
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
fastcgi_param REMOTE_USER $remote_user;
}
}
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 364630
Url: https://administrator.de/forum/nginx-fuer-icinga-web-2-konfigurieren-364630.html
Ausgedruckt am: 16.04.2025 um 16:04 Uhr
3 Kommentare
Neuester Kommentar