Add robots.txt, to avoid spiders hammering the server via gitweb.
This commit is contained in:
parent
bdd82c1b45
commit
bfb731e065
|
@ -27,6 +27,11 @@
|
|||
@p{See the "brief", PLT-oriented @intro{introduction to git}.}}))
|
||||
(define home-file @plain[#:file "home-text.html" home-text])
|
||||
|
||||
(define robots.txt
|
||||
@plain{User-agent: *
|
||||
@(add-newlines (for/list ([d '(plt libs testing play)])
|
||||
@list{Disallow: /@|d|/}))})
|
||||
|
||||
(define gitweb-config
|
||||
@plain[#:file "gitweb_config.perl"]{
|
||||
our $projectroot = "repos";
|
||||
|
|
Loading…
Reference in New Issue
Block a user