Im sorry, but Im confused with this starting message about nginx misconfigure.
(I have just installed CakePHP 4)
Here is my nginx config:
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html/myServApp;
index index.php;
server_name _;
access_log /var/www/html/myServApp/logs/access.log;
error_log /var/www/html/myServApp/logs/error.log;
location / {
try_files $uri $uri/ /index.php$args;
}
location ~ \.php$ {
try_files $uri =404;
include fastcgi.conf;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_index index.php;
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
}
location ~ /.ht {
deny all;
}
}
And yes, I have seen the help link from the start page ( Installation - 4.x ). I see no difference.
Maybe someone already met this issue ?
Maybe I was wrong with something?