Nginx Manual

Want to know nginx manual? we have a huge selection of nginx manual information on alibabacloud.com

Nginx Module Reference manual: Compiling nginx

Nginx modules must be specified at compile time, complete compilation options, available modules can refer to installation options below is an example:./configure \--prefix=/usr \--sbin-path=/usr/sbin/nginx \ conf-path=/etc/nginx/nginx.conf \--error-log-path=/var/log/nginx/error.log \--pid-pat ...

Nginx Module Reference manual: Stub status Module (Stub status)

If you want to use these modules, you must specify the relevant compilation parameters at compile time. This module can get some Nginx running status. To use this module, you must specify the following compilation parameters at compile time:--with-http_stub_status_module Sample configuration: location/nginx_status {# copied from http:// Blog.kovyrin.net/2006/04/29/monitoring-nginx ...

Nginx Module Reference Manual: Map module (MAP)

These modules are all compiled into Nginx by default unless a module is manually specified to be excluded in configure. This module allows you to categorize or simultaneously map multiple values to multiple different values and store them in a variable, and the map instruction is used to create variables, but only when the variable is accepted, the view mapping operation is performed, and the module does not have a performance flaw in processing requests that do not have reference variables. The following example: Map $http _host $name {hostnames; default 0; Example.c ...

Nginx Module Reference manual: Message agent module (mail proxy)

Nginx can proxy IMAP, POP3, and SMTP protocols. directive Proxy syntax: Proxy on | Off default: Off use field: Mail, server settings whether mail agent is enabled. Proxy_buffer syntax: Proxy_buffer size default: 4k/8k using fields: Mail, Server sets the buffer size for the proxy connection, defaults to paging size, and may be 4k or 8k depending on the operating system. P ...

Nginx Module Reference Manual: Substitution module (substitution)

If you want to use these modules, you must specify the relevant compilation parameters at compile time. This module can be used to search for and replace text in Nginx answers. To use this module, you must specify the following compilation parameters at compile time:--with-http_sub_module option Sample configuration: Location/{sub_filter </head> ' </head>< Script Language= "Javascri ...

Nginx Module Reference manual: HTTP Header Processing module (HTTP Headers)

These modules are all compiled into Nginx by default unless a module is manually specified to be excluded in configure. &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; This module allows you to set any HTTP headers. The following example: Expires 24h; Expires flushes +24h; Expires @15h30m; Expires 0 ...

Nginx Module Reference manual: HTTP Basic Authentication Module (HTTP Auth Basic)

These modules are all compiled into Nginx by default unless a module is manually specified to be excluded in configure. This module provides authentication based on user name and password to protect part of your site or site. The following example: Location/{auth_basic "restricted"; auth_basic_user_file conf/htpasswd;} directive auth_basic syntax: Auth_basic [Tex ...

Nginx Module Reference manual: HTTP Referer module (HTTP Referer)

These modules are all compiled into Nginx by default unless a module is manually specified to be excluded in configure. When a request header's http://www.aliyun.com/zixun/aggregation/16918.html ">referer field contains some incorrect fields, this module can prevent this request from accessing the site." This head can be arbitrarily forged, therefore, the use of this module is not 100% to prevent these requests, the vast majority of rejected requests from some code ...

Nginx Module Reference manual: Character Set Setup module (Charset)

These modules are all compiled into Nginx by default unless a module is manually specified to be excluded in configure. This module adds a character encoding to the Content-type field in the answer header. In addition, this module can encode the data and can only be encoded in one way, that is, from the server to the client. Configuration instance: CharSet Windows-1251;source_charset koi8-r; Instruction CharSet syntax: CharSet Encodi ...

Nginx Module Reference manual: FLV module (FLV)

If you want to use these modules, you must specify the relevant compilation parameters at compile time. This module supports dragging playback of FLV (Flash) files. Nginx processes files by adding FLV headers for the requested file. Forwards the file according to the START=XXX in the request parameter. Use this module to specify the –with-http_flv_module parameter at compile time. Sample configuration: Location ~ \.flv$ {flv;} directive FLV syntax: FLV default: None ...

Total Pages: 3 1 2 3 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.