diff options
author | David Baker <dbkr@users.noreply.github.com> | 2017-11-02 15:18:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-02 15:18:37 +0000 |
commit | d4553818a082d21217640e031e7bccc581de538a (patch) | |
tree | c02106bc62b09ddec822f9eef669aad3e0387808 /synapse/config/server.py | |
parent | Merge pull request #2626 from matrix-org/rav/refactor_module_api (diff) | |
parent | Add a hook for custom rest endpoints (diff) | |
download | synapse-d4553818a082d21217640e031e7bccc581de538a.tar.xz |
Merge pull request #2627 from matrix-org/rav/custom_rest_endpoints
Add a hook for custom rest endpoints
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 |