use correct config

This commit is contained in:
2026-04-14 12:37:54 -05:00
parent ef5540e032
commit 4dc2bfbf8e
7 changed files with 51 additions and 79 deletions

View File

@@ -1,15 +1,5 @@
import Config
# 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.
# Note `:force_ssl` is required to be set at compile-time.
config :policy_service, PolicyServiceWeb.Endpoint,
force_ssl: [rewrite_on: [:x_forwarded_proto]],
exclude: [
# paths: ["/health"],
hosts: ["localhost", "127.0.0.1"]
]
# Do not print debug messages in production
config :logger, level: :info