This did the trick for me:

server "default" {
       listen on * port 80

       root "/icinga-web2/public"

       directory index "index.php"

       location "*.php*" {
               fastcgi socket "/run/php-fpm-icingaweb2.sock"
               fastcgi param ICINGAWEB_CONFIGDIR "/etc/icingaweb2"
       }


       location not found "*" {
               request rewrite "/index.php?$QUERY_STRING"
      }
}

> Am 25.03.2021 um 10:13 schrieb Florian Obser <flor...@openbsd.org>:
> 
> Did anyone get icinga-web2 working with httpd(8)?
> If so please share a config snippet.
> 
> Thanks,
> Florian
> 
> -- 
> I'm not entirely sure you are real.
> 

Reply via email to