1
0

Feature to allow setting of custom CORS response headers

This commit is contained in:
Hugh Nimmo-Smith
2023-09-20 22:04:31 +01:00
parent 7ec0a141b4
commit 5fa409b078
6 changed files with 93 additions and 28 deletions

View File

@@ -464,6 +464,13 @@ See the docs [request log format](../administration/request_log.md).
* `additional_resources`: Only valid for an 'http' listener. A map of
additional endpoints which should be loaded via dynamic modules.
* `cors_response_headers`: Only valid for an 'http' listener. A map of Cross-Origin Resource Sharing
headers to use in place of the default ones. You could choose to do this using a
[reverse-proxy](../../reverse_proxy.md) instead.
_Added in Synapse 1.94.0._
http://localhost:8008
Unix socket support (_Added in Synapse 1.89.0_):
* `path`: A path and filename for a Unix socket. Make sure it is located in a
directory with read and write permissions, and that it already exists (the directory