Browse Source

fix for robots.txt location

Allow wordpress to generate robots.txt file if static file does not exist
next
pjv 10 years ago
parent
commit
40ccf765e5
  1. 1
      config/nginx/common/locations.conf

1
config/nginx/common/locations.conf

@ -9,6 +9,7 @@ location = /favicon.ico {
}
location = /robots.txt {
try_files $uri $uri/ /index.php?$args;
access_log off;
log_not_found off;
}

Loading…
Cancel
Save