author | Luke Hoersten <luke@hoersten.org> |
Fri, 09 Sep 2022 11:54:48 -0500 | |
changeset 189 | 3bd85e235e76 |
parent 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 |
storage = "sql" |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
4 |
sql = { |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
5 |
driver = "PostgreSQL"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
6 |
database = "{{prosody_db}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
7 |
host = "localhost"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
8 |
port = {{prosody_db_port}}; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
9 |
username = "{{prosody_db}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
10 |
password = "{{prosody_db_pass}}"; |
2d7ba960b157
Added postgresql for prosody.
Luke Hoersten <luke@hoersten.org>
parents:
23
diff
changeset
|
11 |
} |
23 | 12 |
|
13 |
------ Components ------ |
|
14 |
-- You can specify components to add hosts that provide special services, |
|
15 |
-- like multi-user conferences, and transports. |
|
16 |
-- For more information on components, see http://prosody.im/doc/components |
|
17 |
||
18 |
-- Set up a MUC (multi-user chat) room server on conference.example.com: |
|
19 |
--Component "conference.example.com" "muc" |
|
20 |
||
21 |
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers: |
|
22 |
--Component "proxy.example.com" "proxy65" |
|
23 |
||
24 |
---Set up an external component (default component port is 5347) |
|
25 |
--Component "gateway.example.com" |
|
26 |
-- component_secret = "password" |