Sizes can be specified in bytes, kilobytes (suffixes
K) or megabytes (suffixes
M), for example, “
Offsets may be also specified in gigabytes using
Time intervals can be specified in milliseconds, seconds, minutes, hours, days and so on, using the following suffixes:
|M||months, 30 days|
|y||years, 365 days|
Multiple units can be combined in a single value by specifying them in the order from the most to the least significant, and optionally separated by whitespace. For example, “
1h 30m” specifies the same time as “
90m” or “
5400s”. A value without a suffix means seconds. It is recommended to always specify a suffix.
Some of the time intervals can be specified only with a seconds resolution.
© 2002-2020 Igor Sysoev
© 2011-2020 Nginx, Inc.
Licensed under the BSD License.