Parcourir la source

Remove duplicate index.php

Alexandros Ioannides il y a 4 ans
Parent
commit
f34fcc11c0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      install/deb/templates/web/nginx/caching.tpl

+ 1 - 1
install/deb/templates/web/nginx/caching.tpl

@@ -20,7 +20,7 @@ server {
         proxy_no_cache $no_cache;
 
         set $no_cache 0;
-            if ($request_uri ~* "/wp-admin/|wp-.*.php|xmlrpc.php|index.php|/store.*|/cart.*|/my-account.*|/checkout.*|/user/|/admin/|/administrator/|/manager/|index.php") {
+            if ($request_uri ~* "/wp-admin/|wp-.*.php|xmlrpc.php|/store.*|/cart.*|/my-account.*|/checkout.*|/user/|/admin/|/administrator/|/manager/|index.php") {
                 set $no_cache 1;
             }
             if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|woocommerce_items_in_cart|woocommerce_cart_hash|PHPSESSID") {