From 9e8269c0355f8f0e3cb20c4f6844a5de8a21118b Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 5 Oct 2022 22:46:27 +0000 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a29714..ed4f610 100644 --- a/README.md +++ b/README.md @@ -150,5 +150,13 @@ http6, 200, Chalec website, https://www.chalec.org/ Programmer un cron dans `/etc/cron.d/tinystatus` : ``` -1 * * * * root /srv/tinystatus/tinystatus > /var/www/status.chalec.org/index.html +5 * * * * root /srv/tinystatus/tinystatus > /var/www/status.chalec.org/index.html +``` + +## Personnaliser le UserAgent + +Important de mettre un UserAgent identifiable en tant que bot. Éditer le fichier `tinystatus` : +``` +-useragent="User-Agent: Mozilla/5.0 (X11; Linux x86_64; Debian) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36" ++useragent="User-Agent: TinyStatus bot" ```