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 ...
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 ...
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 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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.