Hi Nicholas
I am moving from apache joomla 3 to nginx joomla 4 server and used your nginx config tool.
Everything went fine except for the home page when I use the server front end protection setting.
In this case the / home page is always redirects to index.php?
The other languages home pages works fine for instance /en/ is ok (the website is in fr by default)
All other links are fine and I use this as code block :
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
when deactivating the server front end protection setting then the / home page works correctly again.
I am a little stuck on debugging this.
Seems like it can come from these last lines :
# Allow access to / location ~* ^/$ { return 301 /index.php?$args; } # Disable access to everything else. location ~* ^/.*$ { # If it is a file, directory or symlink and I haven't deliberately # enabled access to it, forbid any access to it! if (-e $request_filename) { return 403; } # In any other case, just treat as a SEF URL try_files $uri $uri/ /index.php?$args; }
Do you have any idea about this ?
Thanks and merry Christmas
BR
Jean