bundlewrap/data/icinga2/icingaweb2_nginx.conf

16 lines
461 B
Text
Raw Permalink Normal View History

2023-09-09 12:12:24 +00:00
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;
}