Commit 6cc91691 authored by omega8cc's avatar omega8cc Committed by anarcat

Issue #1173954 - Nginx configuration - Add support for static robots.txt file, per site.

parent b19d5f74
......@@ -18,10 +18,11 @@
###
### support for http://drupal.org/project/robotstxt module
### and static file in the sites/domain/files directory
###
location = /robots.txt {
access_log off;
try_files $uri @cache;
try_files $uri /sites/$host/files/robots.txt @cache;
}
###
......
......@@ -18,10 +18,11 @@
###
### support for http://drupal.org/project/robotstxt module
### and static file in the sites/domain/files directory
###
location = /robots.txt {
access_log off;
try_files $uri @cache;
try_files $uri /sites/$host/files/robots.txt @cache;
}
###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment