Hi, i followed all instructions in Nginx Configuration for Matomo and still i get those PHP SAPI fpm-fcgi and Server Info nginx/1.24.0
here is the current nginx conf of mine, do you see something wrong?
# FORGE CONFIG (DO NOT REMOVE!)
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name example.com/;
server_tokens off;
root /home/matomo/example.com/;
ssl_dhparam /etc/nginx/dhparams.pem;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
index index.html index.htm index.php;
charset utf-8;
location / {
try_files $uri $uri/ =404;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
access_log off;
error_log /var/log/nginx/example.com/-error.log error;
error_page 404 /index.php;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php8.2-fpm-matomo.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ ^/(index|matomo|piwik|js/index)\.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php8.2-fpm-matomo.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~* ^.+\.php$ {
deny all;
return 403;
}
location ~ /\.(?!well-known).* {
deny all;
}
location ~ ^/(config|tmp|core|lang|matomo/config|matomo/tmp|matomo/lang) {
deny all;
return 403;
}
location = /matomo/config/config.ini.php {
deny all;
return 403;
}
location = /matomo/tmp/cache/tracker/matomocache_general.php {
deny all;
return 403;
}
}