Browse Source

Remove duplicate index.php

Alexandros Ioannides 4 years ago
parent
commit
2744779c75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/deb/templates/web/nginx/caching.stpl

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

@@ -25,7 +25,7 @@ server {
         proxy_no_cache $no_cache;
         proxy_no_cache $no_cache;
 
 
         set $no_cache 0;
         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;
                 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") {
             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") {