feat(prosody): new file
This commit is contained in:
1 parent
08c2bbd370
commit
966f4d8848
4 files changed
+341
No files matched your search
@@ -0,0 +1,63 @@
|
||||
---------- Virtual hosts -----------
|
||||
-- You need to add a VirtualHost entry for each domain you wish Prosody to serve.
|
||||
-- Settings under each VirtualHost entry apply *only* to that host.
|
||||
|
||||
VirtualHost "ginder.im"
|
||||
http_host = "ginder.im"
|
||||
enabled = true;
|
||||
-- http_external_url = "im.cyberjinh.fr"
|
||||
allow_registration = false;
|
||||
-- min_seconds_between_registrations = 3600
|
||||
certificates = "/etc/prosody/certs/ginder.im/"
|
||||
|
||||
------ Components ------
|
||||
-- You can specify components to add hosts that provide special services,
|
||||
-- like multi-user conferences, and transports.
|
||||
-- For more information on components, see http://prosody.im/doc/components
|
||||
|
||||
---Set up a MUC (multi-user chat) room server on conference.example.com:
|
||||
Component "muc.ginder.im" "muc"
|
||||
restrict_room_creation = "local"
|
||||
name = "Chatroom powered by you"
|
||||
modules_enabled = {
|
||||
"pastebin";
|
||||
"muc_mam";
|
||||
"vcard_muc"
|
||||
}
|
||||
|
||||
muc_log_by_default = true
|
||||
muc_log_all_rooms = false
|
||||
muc_room_default_history_length = 30
|
||||
muc_log_expires_after = "1w"
|
||||
muc_log_cleanup_interval = 4 * 60 * 60
|
||||
muc_room_default_language = "fr"
|
||||
|
||||
admins = { "anael@ginder.im" }
|
||||
|
||||
---Set up Pubsub
|
||||
Component "pubsub.ginder.im" "pubsub"
|
||||
default_admin_affiliation = "owner"
|
||||
autocreate_on_publish = false
|
||||
admins = { "anael@ginder.im" }
|
||||
|
||||
|
||||
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:
|
||||
Component "proxy.ginder.im" "proxy65"
|
||||
|
||||
---Set up an external component (default component port is 5347)
|
||||
--
|
||||
-- External components allow adding various services, such as gateways/
|
||||
-- transports to other networks like ICQ, MSN and Yahoo. For more info
|
||||
-- see: http://prosody.im/doc/components#adding_an_external_component
|
||||
--
|
||||
|
||||
Component "upload.ginder.im" "http_file_share"
|
||||
http_file_share_expires_after = 60 * 60 * 24 *7
|
||||
http_file_share_size_limit = 10*1024*1024
|
||||
|
||||
|
||||
ssl = {
|
||||
key = "/etc/prosody/certs/ginder.im/privkey.pem";
|
||||
certificate = "/etc/prosody/certs/ginder.im/fullchain.pem";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user