<?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>断峰狼的博客 &#187; 虚拟主机</title>
	<atom:link href="http://www.dfwolf.org/tag/%e8%99%9a%e6%8b%9f%e4%b8%bb%e6%9c%ba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dfwolf.org</link>
	<description>男人分四种，一种聪明，一种英俊，一种不聪明也不英俊，我是第四种。</description>
	<lastBuildDate>Sun, 18 Sep 2011 15:45:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Nginx:一个括号引发的网站故障</title>
		<link>http://www.dfwolf.org/2010/01/nginx-brace-caused-site-failure/</link>
		<comments>http://www.dfwolf.org/2010/01/nginx-brace-caused-site-failure/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 14:14:15 +0000</pubDate>
		<dc:creator>断峰狼</dc:creator>
				<category><![CDATA[电脑与互联网]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[虚拟主机]]></category>

		<guid isPermaLink="false">http://www.dfwolf.org/?p=850</guid>
		<description><![CDATA[　　用了nginx好几个月了，却还不会配置nginx.conf。直到今天，用了Beyond Compare软件比较了我自己弄文件和一个高手调整过的文件之后，终于发现一个括号位置之差引起的网站故障。

　　详细的nginx.conf配置可参考<a href="http://wiki.nginx.org/NginxChsFullExample2" target="_blank">NginxChsFullExample2</a>，这里我将其简化了下。

　　先开始我不知道，将server以后的内容全部复制了下，然后换掉域名和文件夹目录，重启了vps发现网站访问不了，原因就是多复制的那个结束括号，只要去掉就ok了。

　　另外祈祷下，我们以后还能顺利的访问使用国外的vps。]]></description>
			<content:encoded><![CDATA[<p>　　用了nginx好几个月了，却还不会配置nginx.conf。直到今天，用了Beyond Compare软件比较了我自己弄文件和一个高手调整过的文件之后，终于发现一个括号位置之差引起的网站故障。</p>
<p>　　详细的nginx.conf配置可参考<a href="http://wiki.nginx.org/NginxChsFullExample2" target="_blank">NginxChsFullExample2</a>，这里我将其简化了下。</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">http</li>
<li>	{</li>
<li>	server</li>
<li>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</li>
<li>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</li>
<li>	}</li></ol></div>
<p>　　先开始我不知道，添加虚拟主机的时候，将server以后的内容全部复制了下，然后换掉域名和文件夹目录，重启了vps发现网站访问不了，原因就是多复制的那个结束括号，只要去掉就ok了。</p>
<p>　　另外祈祷下，我们以后还能顺利的访问使用国外的vps。<br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dfwolf.org/2010/01/nginx-brace-caused-site-failure/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

