From 44d6decf11c8ab7787b6446c29f43d106a900f94 Mon Sep 17 00:00:00 2001 From: Aaron Hurt Date: Fri, 9 Nov 2018 12:35:32 -0600 Subject: [PATCH] add faq to address #490 --- .../faq/multiple-protocol-listeners.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/content/faq/multiple-protocol-listeners.md diff --git a/docs/content/faq/multiple-protocol-listeners.md b/docs/content/faq/multiple-protocol-listeners.md new file mode 100644 index 000000000..108beaf42 --- /dev/null +++ b/docs/content/faq/multiple-protocol-listeners.md @@ -0,0 +1,20 @@ +--- +title: "Handling Multiple Protocols" +--- + +It is quite possible for a single fabio instance to serve multiple protocols +via distinct listeners. + +In this example: +``` +proxy.addr = 172.16.20.11:80;proto=http;rt=60s;wt=30s,\ + 172.16.20.11:443;proto=https;rt=60s;wt=30s;cs=all;tlsmin=10, \ + 172.16.20.11:8443;proto=tcp+sni +``` + +We are telling fabio to bind to `172.16.20.11` on three different ports +(`80`, `443`, and `8443`) using three distinct protocols +(`HTTP`, `HTTPS`, `TCP+SNI`). You are free to bind to as many address, +port, and protocol combinations as needed within a single instance. + +See [#490](https://github.com/fabiolb/fabio/issues/490) for context.