File: index.rst

package info (click to toggle)
slidge-matridge 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: python: 2,035; xml: 127; makefile: 16
file content (42 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
..  GENERATED FILE, DO NOT EDIT DIRECTLY

    This file is automatically generated using https://codeberg.org/slidge/legacy-module-template/
    Its source is at:
    https://codeberg.org/slidge/legacy-module-template/src/branch/main/docs/source/admin/examples/index.rst.jinja
    Open a pull request for this repository instead, to benefit the documentation of all slidge-based gateways.


============================
XMPP server configs examples
============================

.. note::

  These examples are not meant to be complete, but rather show the relevant
  parts for slidge.

prosody/upload
==============

.. literalinclude:: prosody-upload.cfg.lua
  :language: lua
  :linenos:

prosody/no-upload
=================

.. literalinclude:: prosody-noupload.cfg.lua
  :language: lua
  :linenos:

ejabberd/upload
===============

.. note::
    This example does not cover the `No upload` option for attachments (see :ref:`config`).
    For 'no upload' with ejabberd, you need an external HTTP server, eg
    :ref:`nginx-no-upload`.

.. literalinclude:: ejabberd.yaml
  :language: yaml
  :linenos: