You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
766 B
23 lines
766 B
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 :gc_index_relay, GcIndexRelayWeb.Endpoint, |
|
force_ssl: [rewrite_on: [:x_forwarded_proto]], |
|
exclude: [ |
|
# paths: ["/health"], |
|
hosts: ["localhost", "127.0.0.1"] |
|
] |
|
|
|
# Configure Swoosh API Client |
|
config :swoosh, api_client: Swoosh.ApiClient.Req |
|
|
|
# Disable Swoosh Local Memory Storage |
|
config :swoosh, local: false |
|
|
|
# Do not print debug messages in production |
|
config :logger, level: :info |
|
|
|
# Runtime production configuration, including reading |
|
# of environment variables, is done on config/runtime.exs.
|
|
|