Browse Source

Minor Fix

old-stable
Mitesh Shah 12 years ago
parent
commit
bfa2492b09
  1. 2
      conf/nginx/singlesite/w3-total-cache.conf
  2. 2
      conf/nginx/singlesite/wp-super-cache.conf

2
conf/nginx/singlesite/w3-total-cache.conf

@ -29,7 +29,7 @@ server {
# Use cached or actual file if they exists, otherwise pass request to WordPress # Use cached or actual file if they exists, otherwise pass request to WordPress
location / { location / {
try_files /wp-content/w3tc/pgcache/$cache_uri/_index.html $uri $uri/ /index.php?$args ; try_files /wp-content/w3tc/pgcache/$cache_uri/_index.html $uri $uri/ /index.php?$args;
} }
location = /favicon.ico { log_not_found off; access_log off; } location = /favicon.ico { log_not_found off; access_log off; }

2
conf/nginx/singlesite/wp-super-cache.conf

@ -29,7 +29,7 @@ server {
# Use cached or actual file if they exists, otherwise pass request to WordPress # Use cached or actual file if they exists, otherwise pass request to WordPress
location / { location / {
try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php; try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?$args;
} }
location = /favicon.ico { log_not_found off; access_log off; } location = /favicon.ico { log_not_found off; access_log off; }

Loading…
Cancel
Save