Fixes and closes #925

Seconds to minutes as per code
Correction per Derek
Clarifying failure case

Signed-off-by: Mary Anthony <mary@docker.com>

Clarifying failure case

Signed-off-by: Mary Anthony <mary@docker.com>
This commit is contained in:
Mary Anthony 2016-03-24 15:59:26 -07:00
parent 60b9f1756d
commit 188206eede

View file

@ -164,7 +164,7 @@ information about each option that appears later in this page.
baseurl: https://my.cloudfronted.domain.com/ baseurl: https://my.cloudfronted.domain.com/
privatekey: /path/to/pem privatekey: /path/to/pem
keypairid: cloudfrontkeypairid keypairid: cloudfrontkeypairid
duration: 3000 duration: 3000s
reporting: reporting:
bugsnag: bugsnag:
apikey: bugsnagapikey apikey: bugsnagapikey
@ -694,7 +694,7 @@ in the registry implementation.
baseurl: https://my.cloudfronted.domain.com/ baseurl: https://my.cloudfronted.domain.com/
privatekey: /path/to/pem privatekey: /path/to/pem
keypairid: cloudfrontkeypairid keypairid: cloudfrontkeypairid
duration: 3000 duration: 3000s
Each middleware entry has `name` and `options` entries. The `name` must Each middleware entry has `name` and `options` entries. The `name` must
correspond to the name under which the middleware registers itself. The correspond to the name under which the middleware registers itself. The
@ -753,7 +753,7 @@ interpretation of the options.
no no
</td> </td>
<td> <td>
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.
</td> </td>
</tr> </tr>
</table> </table>