Nginx has been able to interpret PHP files correctly.
If there is index.php,nginx in a directory that does not automatically load index.php, manual clicks can be interpreted correctly.
However, clicking on WordPress index.php will show you the list of files in the WordPress directory directly.
If you click on Drupal's index.php, the page will display correctly, but if you click on such a
drupal/index.php/node/add
link, you'll be prompted with a 404 error.
Reply content:
Nginx has been able to interpret PHP files correctly.
If there is index.php,nginx in a directory that does not automatically load index.php, manual clicks can be interpreted correctly.
However, clicking on WordPress index.php will show you the list of files in the WordPress directory directly.
If you click on Drupal's index.php, the page will display correctly, but if you click on such a drupal/index.php/node/add
link, you'll be prompted with a 404 error.
This situation is basically your rewrite is not configured well, or Nginx rewrite configuration and your WordPress permanent link configuration inconsistent caused by the
root index.php index.html index.htm
are there any settings in your nginx configuration?
You should be without installing PHP-FPM
Nginx itself does not support PathInfo mode, you must first let your nginx environment support PathInfo.