Hi, I'm setting up Icinga2-web with base httpd. I'm new to web applications so I'm not sure how to translate pkg/READM nginx config to httpd.conf.
Especially I don't know the equivalent of try_files. This is my httpd.conf (nginx conf in comments): server "10.10.0.20" { listen on * port 80 block return 302 "https://$HTTP_HOST$REQUEST_URI" } server "10.10.0.20" { listen on * tls port 443 tls { key "/etc/ssl/private/10.10.0.20.key" certificate "/etc/ssl/10.10.0.20.crt" } location "/nfsen/*.php" { root "/htdocs" directory index nfsen.php fastcgi socket "/run/php-fpm_nfsen.sock" } # The try_files directive can be used to check whether the specified # file or directory exists; NGINX makes an internal redirect if it # does, or returns a specified status code if it doesn't. # # location ~ ^/icingaweb2/index\.php(.*)$ { # fastcgi_pass unix:run/php-fpm-icingaweb2.sock; # fastcgi_index index.php; # include fastcgi_params; # fastcgi_param SCRIPT_FILENAME /icinga-web2/public/index.php; # fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2; # fastcgi_param REMOTE_USER $remote_user; # } # # location ~ ^/icingaweb2(.+)? { # alias /var/www/icinga-web2/public; # index index.php; # try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args; # } # location match "^/icingaweb2/index\.php(.*)$" { root "/icinga-web2" fastcgi socket "/run/php-fpm_icingaweb2.sock" fastcgi param SCRIPT_FILENAME "/icinga-web2/public/index.php" fastcgi param ICINGAWEB_CONFIGDIR "/etc/icingaweb2" } location match "^/icingaweb2(.+)?" { root "/icingaweb2/public/index.php" } }