From 7eb48a96cfb8e80c18f1a3985033b69d2d3b394b Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Thu, 29 Sep 2022 13:27:30 +0100 Subject: [PATCH] ensure only index.php is matched --- images/nginx-drupal/drupal.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/nginx-drupal/drupal.conf b/images/nginx-drupal/drupal.conf index 032565b9f..a9c1ca81c 100644 --- a/images/nginx-drupal/drupal.conf +++ b/images/nginx-drupal/drupal.conf @@ -11,7 +11,7 @@ server { ## rewriting /index.php to / because after https://www.drupal.org/node/2599326 ## autocomplete URLs are forced to go to index.php - rewrite ^/index.php / last; + rewrite ^/index.php$ / last; ## The 'default' location. location / {