Update data/templates/metronome/metronome.cfg.lua

Add HTTP Upload service (moul's request), and fix indenting
This commit is contained in:
Marco Cirillo 2018-10-17 20:47:35 +02:00
parent 19120cfa60
commit 802c71b0e9

View file

@ -84,6 +84,7 @@ use_ipv6 = true
disco_items = {
{ "muc.{{ main_domain }}" },
{ "pubsub.{{ main_domain }}" },
{ "upload.{{ main_domain }}" },
{ "vjud.{{ main_domain }}" }
};
@ -138,6 +139,14 @@ Component "pubsub.{{ main_domain }}" "pubsub"
unrestricted_node_creation = true -- Anyone can create a PubSub node (from any server)
---Set up a HTTP Upload service
Component "upload.{{ main_domain }}" "http_upload"
name = "{{ main_domain }} Sharing Service"
http_file_size_limit = 6*1024*1024
http_file_quota = 60*1024*1024
---Set up a VJUD service
Component "vjud.{{ main_domain }}" "vjud"
ud_disco_name = "{{ main_domain }} User Directory"
@ -148,4 +157,3 @@ Component "vjud.{{ main_domain }}" "vjud"
-- Settings under each VirtualHost entry apply *only* to that host.
Include "conf.d/*.cfg.lua"