From d4a3474616d98bf7aae9d90e893d58fe1d38bda1 Mon Sep 17 00:00:00 2001 From: buttercat1791 Date: Wed, 4 Mar 2026 00:02:29 -0600 Subject: [PATCH] Disable SSL for prod Postgres connection --- config/prod.exs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/prod.exs b/config/prod.exs index c6890ea..8555e1a 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -3,8 +3,7 @@ import Config config :gc_index_relay, GcIndexRelay.Repo, url: System.get_env("DATABASE_URL"), pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"), - ssl: true, - ssl_opts: [verify: :verify_none] + ssl: false # Force using SSL in production. This also sets the "strict-security-transport" header, # known as HSTS. If you have a health check endpoint, you may want to exclude it below.