Add HAProxy PoW challenge, simple bad bot blocking, and adjust mounts
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 1m16s
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 1m16s
Replace single deploy/haproxy.cfg with deploy/haproxy/{haproxy.cfg,challenge.html}.
HAProxy now runs a WebCrypto-based proof-of-work challenge using a stick-table,
URI normalization and a challenge backend. docker-compose mounts the haproxy
directory, and also switches the site DB volume to ./db to be consistent. Update robots.txt.ts to
add a honeypot path for bad bot blocking.
This commit is contained in:
parent
1162c53c8f
commit
f014330b14
5 changed files with 233 additions and 45 deletions
|
|
@ -69,6 +69,9 @@ DisallowAITraining: /
|
|||
Content-Usage: ai=n
|
||||
Allow: /
|
||||
|
||||
User-Agent: *
|
||||
Disallow: /blokmeplz/
|
||||
|
||||
Sitemap: ${sitemapURL.href}
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue