From e8a96d1bcbb37540b7dac76f0d3220d7f203ffe0 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Tue, 20 Aug 2024 23:05:50 +0200 Subject: [PATCH] Improved main README. --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 25c652d..c46bedd 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,28 @@ Example of cron configuration `/etc/cron.d/statoolinfos`: 4 * * * * root /srv/statoolinfos/bin/probe >> /srv/statoolinfos/statoolinfos-cron.log ``` +### HTTP Server configuration + +The probe feature generates properties files to expose on web. StatoolInfos protocol recommends to follow the well-known convention. + +Example of `/etc/apache2/statoolinfos.conf` generic configuration file: +``` + Alias "/.well-known/statoolinfos/" "/srv/statoolinfos/well-known/statoolinfos/" + + Options +Indexes + Require all granted + +``` + +Example of include directive in `/etc/apache2/sites-enabled/myservice.conf`: +``` + + […] + Include statoolinfos.conf + […] + +``` + ### Sample configuration file Create a configuration file `/srv/statoolInfos/conf/foo.bar.org.conf`: