Nginx 教程

主要文档

Nginx功能概述 为什么选择Nginx Nginx安装 常见问题(FAQ) 配置符号参考 调试 nginx 优化 Nginx 运行和控制Nginx

核心模块

Nginx事件模块 Nginx主模块

基本模块

Browser模块 Charset模块 Geo模块 HttpAccess模块 HttpAuthBasic模块 HttpAutoindex模块 HttpEmptyGif模块 HttpFcgi模块 HttpGzip模块 HttpHeaders模块 HttpIndex模块 HttpIndex模块. HttpLimit zone HttpLimitReqest模块 HttpLog模块 HttpProxy模块 HttpRewrite模块 HttpSSI模块 HttpUserId http核心模块 map Memcached

其他模块

Addition模块 EmbeddedPerl flv GooglePerftools HttpDav模块 HttpGeoIP HttpGzipStatic HttpImageFilter HttpRealIp HttpSecureLink HttpSSL HttpSubstitution HttpXSLT RandomIndex StubStatus模块

mail模块

MailAuth MailCore MailProxy MailSSL

安装

nginx php-fpm安装配置 nginx在fedora上的安装 nginx在freebsd上的安装 nginx在ubuntu上的安装 nginx在windows上的安装

配置示例和方法

HWLoadbalancerCheckErrors nginx防盗链 负载均衡 完整例子 完整例子2 虚拟主机

flv


This module provides the ability to seek within FLV (Flash) files using time-based offsets.

本模块提供FLV文件加载基于时间位移.

Module ngx_http_flv_module offers special handling of files it handles:

模块ngx_http_flv_module提供特殊处理的文件,它处理:

  • adds FLV header to the requested file;
  • 添加 FLV 头请求的文件;
  • transfers file, beginning from the displacement, specified in the request argument start=XXX.
  • 传输文件,从开始的位移,在请求参数中指定 start=XXX.

This module is not compiled by default and must be specified using the --with-http_flv_module argument to configure when compiling Nginx.

本模块必需在编译nginx时加上--with-http_flv_module.

例如:

location ~ \.flv$ {

  flv;
}