From 188206eeded75367c2a58a2553a0e8325e76aba9 Mon Sep 17 00:00:00 2001 From: Mary Anthony Date: Thu, 24 Mar 2016 15:59:26 -0700 Subject: [PATCH] Fixes and closes #925 Seconds to minutes as per code Correction per Derek Clarifying failure case Signed-off-by: Mary Anthony Clarifying failure case Signed-off-by: Mary Anthony --- docs/configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index ae895097..2ff0f324 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -164,7 +164,7 @@ information about each option that appears later in this page. baseurl: https://my.cloudfronted.domain.com/ privatekey: /path/to/pem keypairid: cloudfrontkeypairid - duration: 3000 + duration: 3000s reporting: bugsnag: apikey: bugsnagapikey @@ -694,7 +694,7 @@ in the registry implementation. baseurl: https://my.cloudfronted.domain.com/ privatekey: /path/to/pem keypairid: cloudfrontkeypairid - duration: 3000 + duration: 3000s Each middleware entry has `name` and `options` entries. The `name` must correspond to the name under which the middleware registers itself. The @@ -753,7 +753,7 @@ interpretation of the options. no - Duration for which a signed URL should be valid. + Specify a `duration` by providing an integer and a unit. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. For example, `3m` is a valid duration. If you do not specify a `duration` or specify an integer without a time unit, this defaults to 20 minutes.