author | Luke Hoersten <luke@hoersten.org> |
Sat, 04 Jul 2020 13:20:11 -0500 | |
changeset 115 | 1dc87d96ed8a |
parent 45 | 2d7ba960b157 |
child 138 | 591b6609fc64 |
permissions | -rw-r--r-- |
23 | 1 |
VirtualHost "{{prosody_vhost}}" |
45
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
2 |
|
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
3 |
ssl = { |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
4 |
key = "{{prosody_ssl_privkey}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
5 |
certificate = "{{prosody_ssl_cert}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
6 |
} |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
7 |
|
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
8 |
storage = "sql" |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
9 |
sql = { |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
10 |
driver = "PostgreSQL"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
11 |
database = "{{prosody_db}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
12 |
host = "localhost"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
13 |
port = {{prosody_db_port}}; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
14 |
username = "{{prosody_db}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
15 |
password = "{{prosody_db_pass}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
16 |
} |
23 | 17 |
|
18 |
------ Components ------ |
|
19 |
-- You can specify components to add hosts that provide special services, |
|
20 |
-- like multi-user conferences, and transports. |
|
21 |
-- For more information on components, see http://prosody.im/doc/components |
|
22 |
||
23 |
-- Set up a MUC (multi-user chat) room server on conference.example.com: |
|
24 |
--Component "conference.example.com" "muc" |
|
25 |
||
26 |
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers: |
|
27 |
--Component "proxy.example.com" "proxy65" |
|
28 |
||
29 |
---Set up an external component (default component port is 5347) |
|
30 |
--Component "gateway.example.com" |
|
31 |
-- component_secret = "password" |