Exclude /health endpoint from SSL redirect
Prevents excessive 301 redirect logs from Kubernetes health probes
This commit is contained in:
parent
7339ac7eec
commit
2e3094634c
1 changed files with 1 additions and 1 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue