Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###
- ### Redirect requests for /robots.txt
- ### First we check for existance of site-specific robots.txt
- ### If none, we redirect to default drupal robots.
- ###
- location = /robots.txt {
- access_log off;
- log_not_found off;
- try_files /sites/$server_name/robots.txt @robots;
- }
- location @robots {
- access_log off;
- log_not_found off;
- try_files /robots.txt @cache;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement