Commit 334afd12 authored by omega8cc's avatar omega8cc Committed by anarcat

Issue #1173954 - Nginx configuration - Fix support for static robots.txt file,...

Issue #1173954 - Nginx configuration - Fix support for static robots.txt file, per site, so it checks the site specific file first.
parent 291dfd12
......@@ -22,7 +22,7 @@
###
location = /robots.txt {
access_log off;
try_files $uri /sites/$host/files/robots.txt @cache;
try_files /sites/$host/files/robots.txt $uri @cache;
}
###
......
......@@ -22,7 +22,7 @@
###
location = /robots.txt {
access_log off;
try_files $uri /sites/$host/files/robots.txt @cache;
try_files /sites/$host/files/robots.txt $uri @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