mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
feat: add /robots.txt (#1355)
* feat: add /robots.txt * disallow all crawler by default.
This commit is contained in:
committed by
Aaron Schlesinger
parent
800024fc6f
commit
874d27158d
@@ -67,6 +67,14 @@ PprofPort = ":3001"
|
||||
# that contains the letter `D` (for "Direct Access") in the first line.
|
||||
FilterFile = ""
|
||||
|
||||
# The filename for the robots.txt.
|
||||
# ENV override: ATHENS_ROBOTS_FILE
|
||||
#
|
||||
# To provide /robots.txt for net crawler.
|
||||
# Default disallow all crawler.
|
||||
# Content details to see https://support.google.com/webmasters/answer/6062608
|
||||
RobotsFile = "robots.txt"
|
||||
|
||||
# Timeout is the timeout for external network calls in seconds
|
||||
# This value is used as the default for storage backends if they don't specify timeouts
|
||||
# Defaults to 300
|
||||
|
||||
Reference in New Issue
Block a user