2018-05-08

[root@10 sbin]# ./nginx -h
nginx version: nginx/1.13.12
Usage: nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives]

Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-T : test configuration, dump it and exit
-q : suppress non-error messages during configuration testing
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /tmp/nginx/nginx-1.13.12/)
-c filename : set configuration file (default: conf/nginx.conf)
-g directives : set global directives out of configuration file

[root@10 sbin]# ./nginx -?
nginx version: nginx/1.14.0
Usage: nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives]

Options: 选项:
-?,-h : this help这个帮助
-v : show version and exit显示版本和退出
-V : show version and configure options then exit显示版本和配置选项,然后退出
-t : test configuration and exit测试配置和退出
-T : test configuration, dump it and exit测试配置,转储并退出
-q : suppress non-error messages during configuration testing在配置测试期间抑制非错误消息
-s signal : send signal to a master process: stop, quit, reopen, reload发送信号到主进程:停止,退出,重新打开,重新加载
-p prefix : set prefix path (default: /opt/aspire/ums/nginx/)设置前缀路径(默认值:/opt/asiure/uMS/ngnx/)
-c filename : set configuration file (default: conf/nginx.conf)设置配置文件(默认值:CONF/NGIX.CONF)
-g directives : set global directives out of configuration file从配置文件中设置全局指令

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 3,025评论 0赞 0
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 137,188评论 19赞 139
  • 查看行数 查看列数 awk -F "分隔符" '{print NF; exit}' filename head &...
    Chuanging阅读 304评论 0赞 1
  • 常见语法释疑1、“;” 此处的分号正确理解,一个完整语句。先执行分号前语句,再执行分号后。if date, ok ...
    如风云淡阅读 187评论 0赞 0
  • It's Tuesday. Chapter five:THE HOUSE ON THE PRAIRIE Laura...
    Mr_Oldman阅读 152评论 0赞 0

友情链接更多精彩内容