<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Nginx redirect www.example.com requests to example.com or vice versa</title>
	<atom:link href="http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/feed/" rel="self" type="application/rss+xml" />
	<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/</link>
	<description>simplicity is beautiful</description>
	<lastBuildDate>Sat, 20 Aug 2011 07:35:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nginx Redirect WWW to NON-WWW HOWTO &#124; Nginx Lighttpd Tutorial</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-426</link>
		<dc:creator>Nginx Redirect WWW to NON-WWW HOWTO &#124; Nginx Lighttpd Tutorial</dc:creator>
		<pubDate>Fri, 03 Jun 2011 13:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-426</guid>
		<description>[...] Nginx redirect www.example.com requests to example.com or vice versa [...]</description>
		<content:encoded><![CDATA[<p>[...] Nginx redirect <a href="http://www.example.com" rel="nofollow">http://www.example.com</a> requests to example.com or vice versa [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinicius</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-423</link>
		<dc:creator>Vinicius</dc:creator>
		<pubDate>Sun, 29 May 2011 18:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-423</guid>
		<description>Thanks man very helpfull</description>
		<content:encoded><![CDATA[<p>Thanks man very helpfull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-418</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 09 Mar 2011 11:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-418</guid>
		<description>Should be a slight alteration - see the Nginx Pitfalls page in the docs, &quot;Taxing Rewrites&quot; bit, for details. Basically, the rewrite could be more efficient:

rewrite ^ http://www.example.com$request_uri? permanent;

http://wiki.nginx.org/Pitfalls#Taxing_Rewrites</description>
		<content:encoded><![CDATA[<p>Should be a slight alteration &#8211; see the Nginx Pitfalls page in the docs, &#8220;Taxing Rewrites&#8221; bit, for details. Basically, the rewrite could be more efficient:</p>
<p>rewrite ^ <a href="http://www.example.com$request_uri?" rel="nofollow">http://www.example.com$request_uri?</a> permanent;</p>
<p><a href="http://wiki.nginx.org/Pitfalls#Taxing_Rewrites" rel="nofollow">http://wiki.nginx.org/Pitfalls#Taxing_Rewrites</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-416</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 14 Feb 2011 10:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-416</guid>
		<description>Worked great. Thanks.</description>
		<content:encoded><![CDATA[<p>Worked great. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: platform agnostic &#187; Deploying a Perl Dancer application on Amazon EC2</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-412</link>
		<dc:creator>platform agnostic &#187; Deploying a Perl Dancer application on Amazon EC2</dc:creator>
		<pubDate>Sat, 08 Jan 2011 17:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-412</guid>
		<description>[...] 2. to add the following server block to my nginx configuration so that www.stupidtwitterstats.com redirects to stupidtwtterstats.com (via) [...]</description>
		<content:encoded><![CDATA[<p>[...] 2. to add the following server block to my nginx configuration so that <a href="http://www.stupidtwitterstats.com" rel="nofollow">http://www.stupidtwitterstats.com</a> redirects to stupidtwtterstats.com (via) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-409</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 28 Nov 2010 20:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-409</guid>
		<description>You&#039;re a star!

just what i needed</description>
		<content:encoded><![CDATA[<p>You&#8217;re a star!</p>
<p>just what i needed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: voku</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-407</link>
		<dc:creator>voku</dc:creator>
		<pubDate>Wed, 04 Aug 2010 12:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-407</guid>
		<description>if ($host ~* ^www\.(.*)) {
set $host_without_www $1;
rewrite ^(.*)$ http://$host_without_www$1 permanent;
}</description>
		<content:encoded><![CDATA[<p>if ($host ~* ^www\.(.*)) {<br />
set $host_without_www $1;<br />
rewrite ^(.*)$ <a href="http://$host_without_www$1" rel="nofollow">http://$host_without_www$1</a> permanent;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Raufaste</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-405</link>
		<dc:creator>Laurent Raufaste</dc:creator>
		<pubDate>Mon, 17 May 2010 14:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-405</guid>
		<description>Nice &amp; clear example</description>
		<content:encoded><![CDATA[<p>Nice &amp; clear example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fitim Blaku</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-404</link>
		<dc:creator>Fitim Blaku</dc:creator>
		<pubDate>Wed, 14 Apr 2010 00:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-404</guid>
		<description>Worked perfectly. Thanks.</description>
		<content:encoded><![CDATA[<p>Worked perfectly. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrien Lamothe</title>
		<link>http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/comment-page-1/#comment-403</link>
		<dc:creator>Adrien Lamothe</dc:creator>
		<pubDate>Thu, 28 Jan 2010 05:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://aleksandarsavic.com/nginx-redirect-wwwexamplecom-requests-to-examplecom-or-vice-versa/#comment-403</guid>
		<description>I guess we’ll just hope the newer versions fix the problem.</description>
		<content:encoded><![CDATA[<p>I guess we’ll just hope the newer versions fix the problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

