Browse Source

Disable SSL for prod Postgres connection

master
buttercat1791 2 months ago
parent
commit
d4a3474616
  1. 3
      config/prod.exs

3
config/prod.exs

@ -3,8 +3,7 @@ import Config @@ -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.

Loading…
Cancel
Save