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.