LIVE
News Cnblogs.com

nginx配置文件详解 - huangSir-devops

nginx配置文件详解 - huangSir-devops

概述 Nginx 配置由全局块、events 块、http 块、server 块、location 块五层嵌套组成, 层级关系为: # 全局块(顶层,不属于任何块) events { ... } # 连接、IO、进程模型配置 http { # 所有HTTP服务总入口 # http全局配置 serve

Nginx events http server location # events { ... } # IO http { # HTTP # http server { # # server location / { # # } } } CentOS/RHEL/etc/nginx/nginx.confDebian… [+7537 chars]

Discussion (0)

No comments yet. Be the first to share your thoughts!

Join the Conversation

You need to be logged in to leave a comment.

Sign In Create Account