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`: