Browse Source

fix for robots.txt location

Allow wordpress to generate robots.txt file if static file does not exist
bugfixes
pjv 10 years ago
parent
commit
988d1af19d
  1. 5
      config/nginx/common/locations.conf

5
config/nginx/common/locations.conf

@ -9,8 +9,9 @@ location = /favicon.ico {
}
location = /robots.txt {
access_log off;
log_not_found off;
try_files $uri $uri/ /index.php?$args;
access_log off;
log_not_found off;
}
# Cache static files

Loading…
Cancel
Save