# Géré par Set-OPS (rôle serveur_icingaweb2). Ne pas éditer à la main. # nginx LOCAL : sert Icinga Web 2 (PHP-FPM). L'edge nginx proxifie par nom vers ce port. server { listen {{ serveur_icingaweb2_http_port }}; listen [::]:{{ serveur_icingaweb2_http_port }}; server_name {{ serveur_icingaweb2_hostname }}; root {{ serveur_icingaweb2_docroot }}; index index.php; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ ^/index\.php { fastcgi_pass unix:{{ serveur_icingaweb2_php_fpm_socket }}; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME {{ serveur_icingaweb2_docroot }}/index.php; fastcgi_param ICINGAWEB_CONFIGDIR {{ serveur_icingaweb2_config_dir }}; fastcgi_param REMOTE_USER $remote_user; } location ~ /\.ht { deny all; } }