mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Update example config to include mod_http_upload custom headers (#3288)
This commit is contained in:
parent
5f3457dbd6
commit
38949bdeea
@ -162,6 +162,10 @@ modules:
|
|||||||
mod_http_api: {}
|
mod_http_api: {}
|
||||||
mod_http_upload:
|
mod_http_upload:
|
||||||
put_url: https://@HOST@:5443/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_last: {}
|
||||||
mod_mam:
|
mod_mam:
|
||||||
## Mnesia is limited to 2GB, better to use an SQL backend
|
## Mnesia is limited to 2GB, better to use an SQL backend
|
||||||
|
Loading…
Reference in New Issue
Block a user