Angel

Angel

Your nginx file includes a lot of config that clash with a custom config nginx.

I think this should not be part of a suspended site config, if you already have the main root disabled.

location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; }

This is an easy fix, just make a much simpler file for suspended sites.

If you remove those 2 lines, the site is still suspended, the favicon.ico is not working either and the robot.txt is blocked as well (as it should).

If you are trying to make a suspended site good for SEO, then you need to add a 503 error on it, so it will be a temporary issue for the search engines.

Suspended site nginx config clash with custom nginx server configs

1 total vote
Angel
  • Angel moved item to project Bugs

    1 year ago
  • Angel created the item

    1 year ago