Gitea: Make default robots.txt

Created on 10 Feb 2019  路  6Comments  路  Source: go-gitea/gitea

My gitea instance is seeing ton of requests from Googlebot to /user/login for example.

revieweduplicate

Most helpful comment

@lunny request was to provide one by default with recommended rules

All 6 comments

@lunny request was to provide one by default with recommended rules

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

I naively deployed a vanilla gitea docker image on a subdomain and lacked a robots.txt.
Bots hence came and hit a high number of /archive URLs, creating loads of artifacts and consuming a large space on the disk.

I think a default robots.txt forbidding access to this sort or URLs (and other sane defaults) would be really useful for ease of deployment.

Is this a duplicate of https://github.com/go-gitea/gitea/issues/705 or the other way?

@Mikaela you are right. Let's move to #705 to discuss further.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lunny picture lunny  路  3Comments

thehowl picture thehowl  路  3Comments

kifirkin picture kifirkin  路  3Comments

tuxfanou picture tuxfanou  路  3Comments

flozz picture flozz  路  3Comments