总结下Nginx常用的功能模块

nginx-1.10.3]# ./configure  \

 --prefix=/usr/local/nginx   \        #指定安装路径

 --user=nginx --group=nginx \    #指定用户名及组

 --with-http_ssl_module              #开启网站的ssl加密

 --with-http_auth_basic_module    #实现网站的用户认证

 --with-http_charset_module        #自定义网站编码,如UTF-8

 --with-http_fastcgi_module        #转发请求给PHP服务

 --with-http_gzip_module       #实现网站数据压缩

 --with-http_log_module       #记录用户请求的日志

 --with-http_rewrite_module       #地址重写模块

 --with-http_stub_status_module      #显示Nginx的服务状态

 --with-http_upstream_module          #定义第7层代理集群服务器组

 --with-http_stream_core_module     #定义第4层调度集群服务器组

结束.

猜你喜欢

转载自www.cnblogs.com/liusingbon/p/11221403.html