An example AT Protocol application, written in Elixir using atex and Drinkup.
1import Config
2
3# Note we also include the path to a cache manifest
4# containing the digested version of static files. This
5# manifest is generated by the `mix assets.deploy` task,
6# which you should run after static files are built and
7# before starting your production server.
8config :statusphere, StatusphereWeb.Endpoint,
9 cache_static_manifest: "priv/static/cache_manifest.json"
10
11# Force using SSL in production. This also sets the "strict-security-transport" header,
12# known as HSTS. If you have a health check endpoint, you may want to exclude it below.
13# Note `:force_ssl` is required to be set at compile-time.
14config :statusphere, StatusphereWeb.Endpoint,
15 force_ssl: [rewrite_on: [:x_forwarded_proto]],
16 exclude: [
17 # paths: ["/health"],
18 hosts: ["localhost", "127.0.0.1"]
19 ]
20
21# Do not print debug messages in production
22config :logger, level: :info
23
24# Runtime production configuration, including reading
25# of environment variables, is done on config/runtime.exs.