diff options
author | Badlop <badlop@process-one.net> | 2020-06-09 13:02:45 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-06-09 13:08:05 +0200 |
commit | 38949bdeea3369e9390bdc25344149284d366faf (patch) | |
tree | efa5061efc3d9cfdc7afdfd3014ba95a7b196992 | |
parent | Add default values so Travis config validation stops warning (diff) |
Update example config to include mod_http_upload custom headers (#3288)
-rw-r--r-- | ejabberd.yml.example | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example index 6bd3c7079..7082dab98 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -162,6 +162,10 @@ modules: mod_http_api: {} mod_http_upload: put_url: https://@HOST@:5443/upload + custom_headers: + "Access-Control-Allow-Origin": "https://@HOST@" + "Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS" + "Access-Control-Allow-Headers": "Content-Type" mod_last: {} mod_mam: ## Mnesia is limited to 2GB, better to use an SQL backend |