Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Configure SSL for database

Uku Taht3b3d4d41b0fa
diff --git a/config/config.exs b/config/config.exs
index c09c04a2d9..152bd7c82b 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -82,7 +82,7 @@ config :plausible,
"DATABASE_URL",
"postgres://postgres:[email protected]:5432/plausible_test?currentSchema=default"
),
- ssl: false
+ ssl: String.to_existing_atom(System.get_env("DATABASE_TLS_ENABLED", "false"))
config :plausible, :google,
client_id: System.get_env("GOOGLE_CLIENT_ID"),