drupal-with-nginx
drupal-with-nginx copied to clipboard
robotstxt module wrong output
I suffer from the same commented here but I think is more correct to open a new issue.
https://github.com/perusio/drupal-with-nginx/issues/111#issuecomment-50380442
I'm not sure but compressing pages through drupal in the performance config page is not necessary with this config and creates this kind of errors.
@rodrigoaguilera I think it's a Content-Type thing. Try setting:
default_type 'text/plain';
inside the robots.txt location.
It did work having that setting in nginx conf with page compressing activated on drupal but the pages are still served compressed with the drupal setting for compressing pages desactivated(and no errors on robotstxt module)
Then set also inside the the robots.txt location: gzip off; ans see how it goes.