Skip to content

Commit

Permalink
docs: add missing pages
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Dec 21, 2017
1 parent cb32ace commit 5c5c389
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
20 changes: 20 additions & 0 deletions docs/content/feature/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions docs/content/feature/path-stripping.md
Original file line number Diff line number Diff line change
@@ -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`.

0 comments on commit 5c5c389

Please sign in to comment.