From fc875b38e0accf9bdb2c20796521a6339cff6d5f Mon Sep 17 00:00:00 2001 From: shivanipawar00 <50794721+shivanipawar00@users.noreply.github.com> Date: Tue, 19 Mar 2024 20:30:05 +0530 Subject: [PATCH] Added specification for TCP TLS routers in documentation --- docs/content/routing/routers/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/routing/routers/index.md b/docs/content/routing/routers/index.md index 537e81ee1..6fedaa945 100644 --- a/docs/content/routing/routers/index.md +++ b/docs/content/routing/routers/index.md @@ -667,7 +667,8 @@ The [supported `provider` table](../../https/acme.md#providers) indicates if the ### General -If both HTTP routers and TCP routers listen to the same entry points, the TCP routers will apply *before* the HTTP routers. +For non-TLS connections, if HTTP and TCP routers listen on the same EntryPoint, the TCP routers will apply *before* the HTTP routers. +For TLS connections, if HTTPS and TCP-TLS routers listen on the same EntryPoint, the HTTPS routers will apply *before* the TCP-TLS routers. If no matching route is found for the TCP routers, then the HTTP routers will take over. ### EntryPoints