From f19afec75fbefb8bdb5012c67cfd0acf1d9af508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Fri, 5 Aug 2022 14:44:04 +0200 Subject: [PATCH] Add necessary config for ext nginx to docs --- docs/configuring-playbook-bot-maubot.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/configuring-playbook-bot-maubot.md b/docs/configuring-playbook-bot-maubot.md index d74cfb2fc..d9c8d5659 100644 --- a/docs/configuring-playbook-bot-maubot.md +++ b/docs/configuring-playbook-bot-maubot.md @@ -62,9 +62,21 @@ You can expand "Access token" to copy it. **IMPORTANT**: once you copy the token, just close the Matrix client window/tab. Do not "log out", as that would invalidate the token. +## External nginx +To use the management interface with an [external nginx webserver](configuring-playbook-own-webserver.md) you can use +```yaml +# Controls whether the maubot container exposes its HTTP management interface port (tcp/29316 in the container). +# +# Takes an ":" or "" value (e.g. "127.0.0.1:29316"), or empty string to not expose. +# If you'll be setting this at all, it should be defined in terms of `matrix_bot_maubot_management_interface_port`. +# Example: +# matrix_bot_maubot_management_interface_http_bind_port: "127.0.0.1:{{ matrix_bot_maubot_management_interface_port }}" +matrix_bot_maubot_management_interface_http_bind_port: '127.0.0.1:{{ matrix_bot_maubot_management_interface_port }}' +``` +