diff options
Diffstat (limited to 'dendrite/server/templates/dendrite.yaml.j2')
| -rw-r--r-- | dendrite/server/templates/dendrite.yaml.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dendrite/server/templates/dendrite.yaml.j2 b/dendrite/server/templates/dendrite.yaml.j2 index 0fe6aa2..7fc159d 100644 --- a/dendrite/server/templates/dendrite.yaml.j2 +++ b/dendrite/server/templates/dendrite.yaml.j2 @@ -37,7 +37,7 @@ global: # sections. For monolith deployments using SQLite databases, # you must configure the "database" block for each component instead. database: - connection_string: postgresql://{{dendrite_db_user}}:{{dendrite_db_pass}}@localhost/{{dendrite_db}}?sslmode=disable + connection_string: postgresql://{{dendrite_db_user}}:{{dendrite_db_pass | urlencode | replace("/", "%2F")}}@localhost/{{dendrite_db}}?sslmode=disable max_open_conns: 25 max_idle_conns: 5 conn_max_lifetime: -1 |
