lecture 06

This commit is contained in:
SowinskiBraeden committed 2026-10-17 16:34:36 -07:00
1 parent 85297ca4a8
commit 15fbe95787
76 files changed
+3756

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
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 :counter, CounterWeb.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
# Runtime production configuration, including reading
# of environment variables, is done on config/runtime.exs.