Documentation movim
This commit is contained in:
parent
3e976b4d60
commit
f4d1c63a80
56
README.md
56
README.md
|
@ -111,6 +111,11 @@ listen:
|
||||||
/captcha: ejabberd_captcha
|
/captcha: ejabberd_captcha
|
||||||
/upload: mod_http_upload
|
/upload: mod_http_upload
|
||||||
/ws: ejabberd_http_ws
|
/ws: ejabberd_http_ws
|
||||||
|
custom_headers:
|
||||||
|
"Access-Control-Allow-Origin": "*"
|
||||||
|
"Access-Control-Allow-Methods": "OPTIONS, HEAD, GET, PUT"
|
||||||
|
"Access-Control-Allow-Headers": "Authorization"
|
||||||
|
"Access-Control-Allow-Credentials": "true"
|
||||||
-
|
-
|
||||||
port: 5280
|
port: 5280
|
||||||
ip: "::"
|
ip: "::"
|
||||||
|
@ -256,7 +261,8 @@ mod_http_upload:
|
||||||
put_url: "https://xmpp.@HOST@:5444/upload"
|
put_url: "https://xmpp.@HOST@:5444/upload"
|
||||||
get_url: "https://xmpp.@HOST@:5444/upload"
|
get_url: "https://xmpp.@HOST@:5444/upload"
|
||||||
docroot: /var/www/upload
|
docroot: /var/www/upload
|
||||||
max_size: 262144000 # 250 MB
|
max_size: 500000000 # 500 MB
|
||||||
|
thumbnail: false
|
||||||
file_mode: "0644"
|
file_mode: "0644"
|
||||||
dir_mode: "2755"
|
dir_mode: "2755"
|
||||||
secret_length: 20
|
secret_length: 20
|
||||||
|
@ -269,6 +275,54 @@ mod_http_upload:
|
||||||
max_days: 30
|
max_days: 30
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On corrige la configuration de PEP :
|
||||||
|
```
|
||||||
|
mod_pubsub:
|
||||||
|
host: "pubsub.@HOST@"
|
||||||
|
access_createnode: pubsub_createnode
|
||||||
|
ignore_pep_from_offline: false
|
||||||
|
last_item_cache: false
|
||||||
|
max_items_node: 1000
|
||||||
|
default_node_config:
|
||||||
|
max_items: 1000
|
||||||
|
plugins:
|
||||||
|
- flat
|
||||||
|
- pep
|
||||||
|
force_node_config:
|
||||||
|
"eu.siacs.conversations.axolotl.*":
|
||||||
|
access_model: open
|
||||||
|
## Avoid buggy clients to make their bookmarks public
|
||||||
|
storage:bookmarks:
|
||||||
|
access_model: whitelist
|
||||||
|
"urn:xmpp:bookmarks:0":
|
||||||
|
access_model: whitelist
|
||||||
|
send_last_published_item: never
|
||||||
|
persist_items: true
|
||||||
|
max_items: infinity
|
||||||
|
"urn:xmpp:bookmarks:1":
|
||||||
|
access_model: whitelist
|
||||||
|
send_last_published_item: never
|
||||||
|
persist_items: true
|
||||||
|
max_items: infinity
|
||||||
|
"urn:xmpp:pubsub:movim-public-subscription":
|
||||||
|
access_model: whitelist
|
||||||
|
persist_items: true
|
||||||
|
max_items: infinity
|
||||||
|
"storage:bookmarks":
|
||||||
|
access_model: whitelist
|
||||||
|
"urn:xmpp:microblog:0":
|
||||||
|
max_items: infinity
|
||||||
|
access_model: presence
|
||||||
|
notify_retract: true
|
||||||
|
persist_items: true
|
||||||
|
"urn:xmpp:microblog:0:comments*":
|
||||||
|
max_items: infinity
|
||||||
|
access_model: open
|
||||||
|
notify_retract: true
|
||||||
|
persist_items: true
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
Et enfin, pour que les appels audio/vidéo fonctionnent correctement :
|
Et enfin, pour que les appels audio/vidéo fonctionnent correctement :
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue