1.2 KiB · text History cff00cb
import Config

# Note we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the `mix assets.deploy` task,
# which you should run after static files are built and
# before starting your production server.
config :final_track, FinalTrackWeb.Endpoint,
  cache_static_manifest: "priv/static/cache_manifest.json"

# TLS termination and the http → https redirect happen at the Traefik
# ingress (argo-01-bos/finaltrack/app.yml), so Phoenix doesn't run
# `force_ssl` itself, as diogramos: behind a proxy that doesn't reliably
# forward X-Forwarded-Proto, Plug.SSL sees the LiveView socket upgrade as
# plain HTTP, answers 301, and the browser drops the connection.
#
# Serving directly, with no TLS-terminating proxy? Turn it back on:
#
#     config :final_track, FinalTrackWeb.Endpoint,
#       force_ssl: [rewrite_on: [:x_forwarded_proto]]

# 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.