<?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%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86" 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>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>
	</channel>
</rss>
