ejabberd-contrib/mod_muc_log_http/README.md

960 B

mod_muc_log_http - Serve MUC logs on the web

Description

This module serves the directory containing MUC logs already configured on mod_muc_log. So, there's no need to setup a web server to allow your users to view the MUC logs. It is a small modification of mod_http_fileserver, customized for log serving.

Configuration

This module has no configurable options, simply enable it.

Example Configuration

The directory to serve is already defined on mod_muc_log.

listen:
  -
    port: 5282
    module: ejabberd_http
    request_handlers:
      /muclogs: mod_muc_log_http

modules:
  mod_muc_log:
    outdir: "/tmp/muclogs"
  mod_muc_log_http: {}

With that example configuration, open your web browser at: http://server:5282/muclogs/