Problem/Motivation
The official Drupal Nginx recipe no longer allows updates to work due to the addition of a "try_files" directive to check to make sure the file exists before passing over to fastcgi.
On the second page of the update, the URL http://host/update.php/selection is used, and the try_files $uri =404; line returns a 404 since a file named update.php/selection does not exist.
Since this recipe will be used by many people setting up Drupal, it is important that they do not run into 404 issues during updates.
I added an issue to the Nginx docs issue queue, but am not sure what change can be suggested to fix this problem.
Proposed resolution
Anyone that has experience with Nginx configuration, can you take a shot at a solution we can propose as a PR?
Comments
Comment #2
chrisnovak commentedAdded what I believe is a fix for this, if anyone wants to review: https://github.com/nginxinc/nginx-wiki/pull/488
Comment #3
chrisnovak commentedPR has been accepted