diff options
author | David Baker <dave@matrix.org> | 2017-11-02 15:19:17 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-11-02 15:19:17 +0000 |
commit | 4b36897cd951d4d427802a9a32a4ef27bd35f5eb (patch) | |
tree | 420c712b83a807856ec8160c1c27bf125e981e83 /synapse/config/server.py | |
parent | Add more hooks to ModuleApi (diff) | |
parent | Merge pull request #2627 from matrix-org/rav/custom_rest_endpoints (diff) | |
download | synapse-4b36897cd951d4d427802a9a32a4ef27bd35f5eb.tar.xz |
Merge remote-tracking branch 'origin/develop' into rav/module_api_hooks
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index b66993dab9..4d9193536d 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -247,6 +247,13 @@ class ServerConfig(Config): - names: [federation] # Federation APIs compress: false + # optional list of additional endpoints which can be loaded via + # dynamic modules + # additional_resources: + # "/_matrix/my/custom/endpoint": + # module: my_module.CustomRequestHandler + # config: {} + # Unsecure HTTP listener, # For when matrix traffic passes through loadbalancer that unwraps TLS. - port: %(unsecure_port)s |