mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-09-22 15:50:11 +00:00
Fix Maubot custom URL prefixes
This commit is contained in:
@@ -47,8 +47,6 @@ server:
|
||||
port: {{ matrix_bot_maubot_server_port | to_json }}
|
||||
# Public base URL where the server is visible.
|
||||
public_url: {{ matrix_bot_maubot_bot_server_public_url | to_json }}
|
||||
# The base management API path.
|
||||
base_path: {{ matrix_bot_maubot_bot_server_base_path | to_json }}
|
||||
# The base path for the UI.
|
||||
ui_base_path: {{ matrix_bot_maubot_bot_server_ui_base_path | to_json }}
|
||||
# The base path for plugin endpoints. The instance ID will be appended directly.
|
||||
@@ -56,8 +54,6 @@ server:
|
||||
# Override path from where to load UI resources.
|
||||
# Set to false to using pkg_resources to find the path.
|
||||
override_resource_path: /opt/maubot/frontend
|
||||
# The base appservice API path. Use / for legacy appservice API and /_matrix/app/v1 for v1.
|
||||
appservice_base_path: {{ matrix_bot_maubot_bot_server_appservice_base_path | to_json }}
|
||||
# The shared secret to sign API access tokens.
|
||||
# Set to "generate" to generate and save a new token at startup.
|
||||
unshared_secret: {{ matrix_bot_maubot_unshared_secret | to_json }}
|
||||
|
||||
@@ -27,6 +27,10 @@ traefik.http.routers.matrix-bot-maubot-management.priority={{ matrix_bot_maubot_
|
||||
{% endif %}
|
||||
|
||||
traefik.http.routers.matrix-bot-maubot-management.service=matrix-bot-maubot
|
||||
{% if matrix_bot_maubot_container_labels_management_prefix != '/' %}
|
||||
traefik.http.middlewares.matrix-bot-maubot-management-strip-prefix.stripprefix.prefixes={{ matrix_bot_maubot_container_labels_management_prefix }}
|
||||
traefik.http.routers.matrix-bot-maubot-management.middlewares=matrix-bot-maubot-management-strip-prefix
|
||||
{% endif %}
|
||||
traefik.http.routers.matrix-bot-maubot-management.entrypoints={{ matrix_bot_maubot_container_labels_management_traefik_entrypoints }}
|
||||
|
||||
traefik.http.routers.matrix-bot-maubot-management.tls={{ matrix_bot_maubot_container_labels_management_traefik_tls | to_json }}
|
||||
|
||||
Reference in New Issue
Block a user