|
@@ -18,7 +18,8 @@ modules:
|
|
|
mod_client_state: {}
|
|
|
mod_configure: {} # requires mod_adhoc
|
|
|
mod_conversejs:
|
|
|
- websocket_url: "ws://@HOST@:5280/websocket"
|
|
|
+# websocket_url: "ws://@HOST@:5280/websocket"
|
|
|
+ websocket_url: WS_URL #macro defined in ~/env.yml
|
|
|
|
|
|
## mod_delegation: {} # for xep0356
|
|
|
mod_disco:
|
|
@@ -37,11 +38,13 @@ modules:
|
|
|
## accesslog: "/home/ejabberd/logs/access.log"
|
|
|
#mod_http_api: {}
|
|
|
mod_http_upload:
|
|
|
- put_url: "https://@HOST@:5443/upload"
|
|
|
+# put_url: "https://@HOST@:5443/upload"
|
|
|
+ put_url: PUT_URL #macro defined in ~/env.yml
|
|
|
thumbnail: false # otherwise needs ejabberd to be compiled with libgd support
|
|
|
max_size: 524288 # 5MB
|
|
|
custom_headers:
|
|
|
- "Access-Control-Allow-Origin": "https://@HOST@"
|
|
|
+# "Access-Control-Allow-Origin": "https://@HOST@"
|
|
|
+ "Access-Control-Allow-Origin": ACL_ORIGIN #macro defined in ~/env.yml
|
|
|
"Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS"
|
|
|
"Access-Control-Allow-Headers": "Content-Type"
|
|
|
mod_http_upload_quota:
|