about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-03-08 20:15:57 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-08 20:15:57 +0100
commit674fe32f972614c1617e61bf946e58006d18d019 (patch)
tree62e4a703d86ffa2203a7961a3d76d36970226e05 /config
parent29a09858f6700c0a6eb17797836589ed0839dec9 (diff)
parent3f4a6d44fe8366dc4d71501dc2d799d641af4687 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'config')
-rw-r--r--config/database.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
index 82e560515..c10bff6b2 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -3,6 +3,7 @@ default: &default
   pool: <%= ENV["DB_POOL"] || ENV['MAX_THREADS'] || 5 %>
   timeout: 5000
   encoding: unicode
+  sslmode: <%= ENV['DB_SSLMODE'] || "prefer" %>
 
 development:
   <<: *default
@@ -31,3 +32,4 @@ production:
   host: <%= ENV['DB_HOST'] || 'localhost' %>
   port: <%= ENV['DB_PORT'] || 5432 %>
   prepared_statements: <%= ENV['PREPARED_STATEMENTS'] || 'true' %>
+