server

Syntax: server { ... }
Default:
Context: http

Sets configuration for a virtual server. There is no clear separation between IP-based (based on the IP address) and name-based (based on the “Host” request header field) virtual servers. Instead, the listen directives describe all addresses and ports that should accept connections for the server, and the server_name directive lists all server names. Example configurations are provided in the “How nginx processes a request” document.

doc_nginx
2017-02-09 07:09:07
Comments
Leave a Comment

Please login to continue.