From 2e3094634c16424e746677b43688f39b6d48d1fc Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 3 Jan 2026 15:50:31 -0600 Subject: [PATCH] Exclude /health endpoint from SSL redirect Prevents excessive 301 redirect logs from Kubernetes health probes --- config/prod.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/prod.exs b/config/prod.exs index 6fa0160a..58bf3296 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -22,7 +22,7 @@ config :towerops, ToweropsWeb.Endpoint, cache_static_manifest: "priv/static/cach config :towerops, ToweropsWeb.Endpoint, force_ssl: [rewrite_on: [:x_forwarded_proto]], exclude: [ - # paths: ["/health"], + paths: ["/health"], # Runtime production configuration, including reading # of environment variables, is done on config/runtime.exs. hosts: ["localhost", "127.0.0.1"]