<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>深蓝的blog &#187; Nginx</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=nginx" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 18 Apr 2026 07:10:07 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>麒麟 Linux arm64 安装 Redis、nginx、oceanbase</title>
		<link>http://www.lanxinbase.com/?p=2993</link>
		<comments>http://www.lanxinbase.com/?p=2993#comments</comments>
		<pubDate>Sat, 10 Jan 2026 03:51:42 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[1.服务端语言]]></category>
		<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[oceanbase]]></category>
		<category><![CDATA[redis]]></category>
		<category><![CDATA[麒麟]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2993</guid>
		<description><![CDATA[首先确认系统架构uname -m： [root@localhost sbin]# uname -m aarch [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2993</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx反向代理数据处理不过来：net::ERR_INCOMPLETE_CHUNKED_ENCODING</title>
		<link>http://www.lanxinbase.com/?p=2899</link>
		<comments>http://www.lanxinbase.com/?p=2899#comments</comments>
		<pubDate>Wed, 14 Aug 2024 15:32:03 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[Chunked Transfer Encoding]]></category>
		<category><![CDATA[ERR_INCOMPLETE_CHUNKED_ENCODING]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[响应块被打断]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2899</guid>
		<description><![CDATA[net::ERR_INCOMPLETE_CHUNKED_ENCODING 在浏览器上调用接口，响应被打断了，报 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2899</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx配置通道Buffer nginx proxy buffer</title>
		<link>http://www.lanxinbase.com/?p=2897</link>
		<comments>http://www.lanxinbase.com/?p=2897#comments</comments>
		<pubDate>Wed, 14 Aug 2024 15:24:01 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[buffer]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[proxy_buffering]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2897</guid>
		<description><![CDATA[ proxy_buffering设置 proxy_buffering主要是实现被代理服务器的数据和客户端的请求 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2897</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>批量关闭Nginx进程</title>
		<link>http://www.lanxinbase.com/?p=2548</link>
		<comments>http://www.lanxinbase.com/?p=2548#comments</comments>
		<pubDate>Mon, 08 Jun 2020 08:37:26 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2548</guid>
		<description><![CDATA[kill $(ps aux &#124; grep &#8216;nginx&#8217; &#124; awk &#8216;{ [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2548</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx负载均衡策略</title>
		<link>http://www.lanxinbase.com/?p=2488</link>
		<comments>http://www.lanxinbase.com/?p=2488#comments</comments>
		<pubDate>Fri, 27 Dec 2019 14:23:44 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[upstream]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2488</guid>
		<description><![CDATA[负载均衡用于从“upstream”模块定义的后端服务器列表中选取一台服务器接受用户的请求。一个最基本的upst [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2488</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx 配置文件 nginx.conf 详解</title>
		<link>http://www.lanxinbase.com/?p=2035</link>
		<comments>http://www.lanxinbase.com/?p=2035#comments</comments>
		<pubDate>Mon, 26 Nov 2018 09:01:36 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[4.PHP后端开发]]></category>
		<category><![CDATA[5.互联网应用开发]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[nginx.conf]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2035</guid>
		<description><![CDATA[#定义Nginx运行的用户和用户组 user www www; &#160; #nginx进程数，建议设置为等 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2035</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>高性能的HTTP服务Nginx还能做什么？</title>
		<link>http://www.lanxinbase.com/?p=2029</link>
		<comments>http://www.lanxinbase.com/?p=2029#comments</comments>
		<pubDate>Mon, 26 Nov 2018 08:51:00 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[4.PHP后端开发]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2029</guid>
		<description><![CDATA[Nginx能做什么? 1、反向代理 2、负载均衡 3、HTTP服务器（包含动静分离） 4、正向代理 以上是Ng [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2029</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx支持socket转发</title>
		<link>http://www.lanxinbase.com/?p=1787</link>
		<comments>http://www.lanxinbase.com/?p=1787#comments</comments>
		<pubDate>Fri, 24 Nov 2017 02:01:35 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[ngx_stream_core_module]]></category>
		<category><![CDATA[Socket]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1787</guid>
		<description><![CDATA[有个接口是通过socket通信，对端服务器访问存在IP限制，只好通过跳板机，因为它具备访问对端服务器的权限。nginx1.9开始支持tcp层的转发，通过stream实现的，而socket也是基于tcp通信。

一.实现过程：

1.安装nginx，stream模块默认不安装的，需要手动添加参数：–with-stream，官方下载地址：download，根据自己系统版本选择nginx1.9或以上版本。

2.nginx.conf 配置，参考说明：ngx_stream_core_module

nginx.conf

user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
.................
}

# tcp层转发的配置文件夹

include /etc/nginx/tcp.d/*.conf;
请注意，stream配置不能放到http内，即不能放到/etc/nginx/conf.d/，因为stream是通过tcp层转发，而不是http转发。

如配置在http内，启动nginx会报如下错误：

nginx: [emerg] "server" directive is not allowed here
3.在tcp.d下新建个bss_num_30001.conf文件，内容如下：]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1787</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nginx使用upstream模块实现tomcat负载均衡</title>
		<link>http://www.lanxinbase.com/?p=1773</link>
		<comments>http://www.lanxinbase.com/?p=1773#comments</comments>
		<pubDate>Thu, 19 Oct 2017 08:20:40 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[nginx反向代理]]></category>
		<category><![CDATA[upstream]]></category>
		<category><![CDATA[负载均衡]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1773</guid>
		<description><![CDATA[UPSTREAM负载均衡模块

负载均衡模块用于从”upstream”指令定义的后端主机列表中选取一台主机。nginx先使用负载均衡模块找到一台主机，再使用upstream模块实现与这台主机的交互。为了方便介绍负载均衡模块，做到言之有物，以下选取nginx内置的ip hash模块作为实际例子进行分析。

配置

要了解负载均衡模块的开发方法，首先需要了解负载均衡模块的使用方法。因为负载均衡模块与之前书中提到的模块差别比较大，所以我们从配置入手比较容易理解。

在配置文件中，我们如果需要使用ip hash的负载均衡算法。我们需要写一个类似下面的配置：]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1773</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP错误代码大全</title>
		<link>http://www.lanxinbase.com/?p=1372</link>
		<comments>http://www.lanxinbase.com/?p=1372#comments</comments>
		<pubDate>Wed, 07 Dec 2016 07:37:08 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[5.互联网应用开发]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[http代码]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1372</guid>
		<description><![CDATA[200 （成功） 服务器已成功处理了请求。通常，这表示服务器提供了请求的网页。
201 （已创建） 请求成功并且服务器创建了新的资源。
202 （已接受） 服务器已接受请求，但尚未处理。
203 （非授权信息） 服务器已成功处理了请求，但返回的信息可能来自另一来源。
204 （无内容） 服务器成功处理了请求，但没有返回任何内容。
205 （重置内容） 服务器成功处理了请求，但没有返回任何内容。
206 （部分内容） 服务器成功处理了部分 GET 请求。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1372</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
