Skip to content

Commit

Permalink
[minor] document x-drone, fixes #114
Browse files Browse the repository at this point in the history
  • Loading branch information
Swaagie committed Jan 31, 2014
1 parent 28765ec commit 58e1f87
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion content/faq/index.md
Expand Up @@ -442,7 +442,7 @@ Business plan account and your `package.json` is configured with the custom doma
Individual plans can't use Custom SSL but they can use our Free SSL service with Individual plans can't use Custom SSL but they can use our Free SSL service with
`*.jit.su` and `*.nodejitsu.com`. Just prepend the `https://` and it's done. `*.jit.su` and `*.nodejitsu.com`. Just prepend the `https://` and it's done.


## How can I target an application through a specific load balancer? ## How to target an application through a specific load balancer?


For debugging purposes it's sometimes useful to hit your application through a For debugging purposes it's sometimes useful to hit your application through a
specific balancer. This is easily done by providing a Host header to the specific balancer. This is easily done by providing a Host header to the
Expand All @@ -456,6 +456,17 @@ $ curl --verbose --header 'Host: yourapp.jit.su' 165.225.131.253


For a list of balancers, check our [list][list]. For a list of balancers, check our [list][list].


## How to target a specific drone of an application?

If your application uses multiple drones, we provide a special header for targetting
a specific drone. Per example, if your application uses 2 drones, you can
provide either `x-drone: 1` or `x-drone: 2` as header. Note, replace `yourapp` with
the subdomain of your application.

```
$ curl --verbose --header 'x-drone: 1' yourapp.jit.su
```

[logs]: https://www.nodejitsu.com/documentation/jitsu/logs/#tailing-logs [logs]: https://www.nodejitsu.com/documentation/jitsu/logs/#tailing-logs
[docs]: http://socket.io/#how-to-use [docs]: http://socket.io/#how-to-use
[list]: https://www.nodejitsu.com/documentation/features/dns/#individual-plans [list]: https://www.nodejitsu.com/documentation/features/dns/#individual-plans
Expand Down

0 comments on commit 58e1f87

Please sign in to comment.