前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >专栏 >Nginx 配置文件的时间单位和计量单位

Nginx 配置文件的时间单位和计量单位

作者头像
Yangsh888
发布2022-03-24 14:55:04
发布2022-03-24 14:55:04
1K00
代码可运行
举报
文章被收录于专栏:Yangsh888的专栏Yangsh888的专栏
运行总次数:0
代码可运行

计量大小的单位:

代码语言:javascript
代码运行次数:0
运行
复制
bytes, kilobytes(后缀为 k 或 K), megabytes(后缀为 m 或 M),
例如:“1024”, “8k”, “1m”.

时间单位:

代码语言:javascript
代码运行次数:0
运行
复制
ms milliseconds 毫秒
s   seconds 
m   minutes
h   hours
d   days
w   weeks
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.

对于时间单位来说,可同时使用多个单位,比如 “1h 30”,它等同于 “90m” 或者 “5400s”。如果不指定单位,默认是 “秒”,建议指定时间单位。

Some of the time intervals can be specified only with a seconds resolution.

某些时间参数只能使用 “秒” 为单位。

本文系外文翻译,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系外文翻译前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 计量大小的单位:
  • 时间单位:
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档