move icinga2 to new host

This commit is contained in:
Franzi 2023-09-09 14:12:24 +02:00
parent 99e261fe24
commit e6e9e425fc
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 123 additions and 1 deletions

View file

@ -0,0 +1,15 @@
location ~ \.php$ {
include fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
}
location = / {
return 301 https://$host/authentication/login;
}
location / {
try_files $1 $uri $uri/ /index.php$is_args$args;
}

View file

@ -0,0 +1 @@
../../../../icinga2/icingaweb2_nginx.conf