diff --git a/docs/content/feature/request-debugging.md b/docs/content/faq/request-debugging.md similarity index 66% rename from docs/content/feature/request-debugging.md rename to docs/content/faq/request-debugging.md index 4b57e991a..19eb8ecf2 100644 --- a/docs/content/feature/request-debugging.md +++ b/docs/content/faq/request-debugging.md @@ -1,10 +1,8 @@ --- -title: "Request Debugging" -since: "1.0" +title: "Test fabio with curl" --- -To send a request from the command line via the fabio using `curl` -you should send it as follows: +##### How do I send a request to fabio via `curl`? ``` curl -v -H 'Host: foo.com' 'http://localhost:9999/path' diff --git a/docs/content/feature/request-tracing.md b/docs/content/faq/request-tracing.md similarity index 88% rename from docs/content/feature/request-tracing.md rename to docs/content/faq/request-tracing.md index 64df1f3f3..82e0ed102 100644 --- a/docs/content/feature/request-tracing.md +++ b/docs/content/faq/request-tracing.md @@ -1,8 +1,9 @@ --- title: Request Tracing -since: "1.0" --- +#### How do I see which routes fabio is matching for a request? + To trace how a request is routed you can add a `Trace` header with an non- empty value which is truncated at 16 characters to keep the log output short. diff --git a/docs/content/feature/_index.md b/docs/content/feature/_index.md index 59b0b5cfc..588074fa6 100644 --- a/docs/content/feature/_index.md +++ b/docs/content/feature/_index.md @@ -2,3 +2,23 @@ title: "Features" weight: 200 --- + +The following list provides a list of features supported by fabio. + + * [Access Logging](/feature/access-logging/) - customizable access logs + * [Certificate Stores](/feature/certificate-stores/) - dynamic certificate stores like file system, HTTP server, [Consul](https://consul.io/) and [Vault](https://vaultproject.io/) + * [Compression](/feature/compression/) - GZIP compression for HTTP responses + * [Docker Support](/feature/docker/) - Official Docker image, Registrator and Docker Compose example + * [Dynamic Reloading](/feature/dynamic-reloading/) - hot reloading of the routing table without downtime + * [Graceful Shutdown](/feature/graceful-shutdown/) - wait until requests have completed before shutting down + * [HTTP Header Support](/feature/http-headers/) - inject some HTTP headers into upstream requests + * [HTTPS Upstreams](/feature/https-upstream/) - forward requests to HTTPS upstream servers + * [Metrics Support](/feature/metrics/) - support for Graphite, StatsD/DataDog and Circonus + * [PROXY Protocol Support](/feature/proxy-protocol/) - support for HA Proxy PROXY protocol for inbound requests (use for Amazon ELB) + * [Path Stripping](/feature/path-stripping/) - strip prefix paths from incoming requests + * [Server-Sent Events/SSE](/feature/sse/) - support for Server-Sent Events/SSE + * [TCP Proxy Support](/feature/tcp-proxy/) - raw TCP proxy support + * [TCP-SNI Proxy Support](/feature/tcp-sni-proxy/) - forward TLS connections based on hostname without re-encryption + * [Traffic Shaping](/feature/traffic-shaping/) - forward N% of traffic upstream without knowing the number of instances + * [Web UI](/feature/web-ui/) - web ui to examine the current routing table + * [Websocket Support](/feature/websockets/) - websocket support diff --git a/docs/content/feature/path-stripping.md b/docs/content/feature/path-stripping.md new file mode 100644 index 000000000..116563471 --- /dev/null +++ b/docs/content/feature/path-stripping.md @@ -0,0 +1,9 @@ +--- +title: "Path Stripping" +since: "1.3.7" +--- + +fabio supports stripping a path from the incoming request. If you want to +forward `http://host/foo/bar` as `http://host/bar` you can add a `strip=/foo` +option to the route options as `urlprefix-/foo/bar strip=/foo`. +