<?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>GO IT WORLD &#124; IT TECH &#124; IT NEWS &#187; Nginx Server</title>
	<atom:link href="http://www.goitworld.com/category/server-world/nginx-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goitworld.com</link>
	<description>goitworld.com</description>
	<lastBuildDate>Tue, 10 Jan 2012 10:03:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Config nginx for codeigniter</title>
		<link>http://www.goitworld.com/config-nginx-for-codeigniter/</link>
		<comments>http://www.goitworld.com/config-nginx-for-codeigniter/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 13:36:49 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/config-nginx-for-codeigniter/</guid>
		<description><![CDATA[<p style="float: right;margin: 4px;">


</p><p>Modify nginx config file</p>
<blockquote><p>location ~ \.php($&#124;/) {     <br />root /var/www/html;      <br />fastcgi_pass 127.0.0.1:9000;      <br />fastcgi_index index.php;      <br />fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;      <br />fastcgi_split_path_info ^(.+\.php)(.*)$;       <br />fastcgi_param PATH_INFO $fastcgi_path_info;       <br />include fastcgi_params;      <br />}</p>
</blockquote>
<p>Modify codeigniter config</p>
<blockquote><p><font>Before:       <br /></font>//$config['uri_protocol']&#160;&#160;&#160;&#160;&#160;&#160; = &#34;AUTO&#34;;      <br />After:      <br />$config['uri_protocol'] = &#34;PATH_INFO&#34;;</p>
</blockquote>
<p></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/config-nginx-for-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable php execute of special directory of nginx</title>
		<link>http://www.goitworld.com/disable-php-execute-of-special-directory-of-nginx/</link>
		<comments>http://www.goitworld.com/disable-php-execute-of-special-directory-of-nginx/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 08:38:47 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php execute privileges]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/disable-php-execute-of-special-directory-of-nginx/</guid>
		<description><![CDATA[<p>If your web server is apache ,you can add follow line:</p>
<blockquote><p>&#60;Directory /website/attachments&#62;   <br />php_flag engine off    <br />&#60;/Directory&#62;</p></blockquote>
<p>We want disable upload directory php execute privileges on nginx,It’s so simple</p>
<blockquote><p>location /upload/ {     <br />location ~ .*\.(php)?$      <br />{      <br />deny all;       <br />}      <br />}</p>
</blockquote>
<p>limit more directory</p>
<blockquote><p>location ~* ^/(upload&#124;images)/.*\.(php&#124;php5)$     <br />{      <br />deny all;      <br />}</p>
</blockquote>
<p>If your web server is lighthttpd you can</p>
<blockquote><p>$HTTP[&#34;url&#34;] =~ &#34;^/(forumdata&#124;templates&#124;customavatars?)/&#34; {     <br />fastcgi.server = ()      <br />}      <br />Apache:      <br />&#60;Location &#34;/forumdata&#34;&#62;      <br />php_admin_flag engine off      <br />Options -ExecCGI      <br />AddType text/plain .html .htm .shtml .php      <br />&#60;/Location&#62;</p>
</blockquote>
<p>Hope it will help you.</p>
]]></description>
		<wfw:commentRss>http://www.goitworld.com/disable-php-execute-of-special-directory-of-nginx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To use nginx proxy cache replace squid</title>
		<link>http://www.goitworld.com/how-to-use-nginx-proxy-cache-replace-squid/</link>
		<comments>http://www.goitworld.com/how-to-use-nginx-proxy-cache-replace-squid/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 06:09:31 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[proxy cache]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/how-to-use-nginx-proxy-cache-replace-squid/</guid>
		<description><![CDATA[<p>Nginx from the 0.7.48 release, support for Squid cache similar function. This cache is used as the URL and the relevant combination of Key, with the md5 hash code and saved on the hard drive, so it can support any URL link, also supports 404/301/302 such non-200 status code. Although the official Nginx Web caching service can only status code for the specified URL or set an expiration time, like Squid does not support the PURGE command to manually clear the cache page specified, but Nginx module by a third party, you can clear the cache of the specified URL&#8230; <a href="http://www.goitworld.com/how-to-use-nginx-proxy-cache-replace-squid/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/how-to-use-nginx-proxy-cache-replace-squid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to resolve &#8220;No input file specified&#8221; problem</title>
		<link>http://www.goitworld.com/how-to-resolve-no-input-file-specified-problem/</link>
		<comments>http://www.goitworld.com/how-to-resolve-no-input-file-specified-problem/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 14:29:10 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[No input file specified]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/how-to-resolve-no-input-file-specified-problem/</guid>
		<description><![CDATA[<blockquote><p>When running PHP as CGI binary on nginx. You might get above error if you nonexistent PHP file. If you got a custom 404 page,this can be irritating, as it makes for an inconsistent user experience.</p>
<p>I find many articles, and I check php.ini file</p>
<p>cgi.fix_pathinfo=1</p>
<p>doc_root=</p>
<p>And check nginx.conf config file. virtual host parameters.</p>
<p>fastcgi_param SCRIPT_FILENAME <font color="#ff0000">/var/www/html/</font>$fastcgi_script_name;</p>
<p>The red part default is /script/$fastcgi_script_name;</p>
<p>I have modify above these parameters but if I get the&#160; error still. I find the&#160; parameters,I modify nginx config file add the follow a line</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; fastcgi_intercept_errors on;&#160; </p>
<p>After I add the parameters</p></blockquote><p>&#8230; <a href="http://www.goitworld.com/how-to-resolve-no-input-file-specified-problem/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/how-to-resolve-no-input-file-specified-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx compile options</title>
		<link>http://www.goitworld.com/nginx-compile-options/</link>
		<comments>http://www.goitworld.com/nginx-compile-options/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 06:45:31 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[copile]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[options]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/nginx-compile-options/</guid>
		<description><![CDATA[<p><code>configure</code> determines the features of system and, in particular, the methods, which nginx can use for handling connections. Finally it creates the Makefile. </p>
<p><code>configure</code> supports the following options: </p>
<p><b>&#8211;prefix=</b>&#60;path&#62; &#8211; The path relative to which all other Nginx paths will resolve. If not specified, defaults to /usr/local/nginx. </p>
<p><b>&#8211;sbin-path=</b>&#60;path&#62; &#8211; The path to the nginx executable. Only used for installation. If not specified defaults to &#60;prefix&#62;/sbin/nginx. </p>
<p><b>&#8211;conf-path=</b>&#60;path&#62; &#8211; The default location of nginx.conf if no -c parameter is provided. If not provided, defaults to &#60;prefix&#62;/conf/nginx.conf. </p>
<p><b>&#8211;pid-path=</b>&#60;path&#62; &#8211; The path to nginx.pid, if not set via the&#8230; <a href="http://www.goitworld.com/nginx-compile-options/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/nginx-compile-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to ssl certificate installation with nginx</title>
		<link>http://www.goitworld.com/how-to-ssl-certificate-installation-with-nginx/</link>
		<comments>http://www.goitworld.com/how-to-ssl-certificate-installation-with-nginx/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 06:22:00 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/how-to-ssl-certificate-installation-with-nginx/</guid>
		<description><![CDATA[<p><strong>Nginx Server SSL Certificate Installation:</strong></p>

<h1>Create a real SSL Certificate</h1>
<p>1.Make sure OpenSSL is installed and in your <code>PATH</code>.    </p>
<p>2.Create a RSA private key for your Apache server (will be Triple-DES encrypted and PEM formatted):    <br /><code><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $ openssl genrsa -des3 -out server.key 1024       <br />Please backup this <code>server.key</code> file and the pass-phrase you entered in a secure location. You can see the details of this RSA private key by using the command:        <br /></strong></code><code><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $ openssl rsa -noout -text -in server.key</strong></code>    <br />If necessary, you can also create a decrypted PEM version (not recommended) of this RSA&#8230; <a href="http://www.goitworld.com/how-to-ssl-certificate-installation-with-nginx/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/how-to-ssl-certificate-installation-with-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to turn off server version for nginx</title>
		<link>http://www.goitworld.com/how-to-turn-off-server-version-for-nginx/</link>
		<comments>http://www.goitworld.com/how-to-turn-off-server-version-for-nginx/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 05:07:19 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/?p=272</guid>
		<description><![CDATA[<p>For securing, you probably want to turn off the version with the directive “server_tokens off”.</p>
<p>server_tokens<br />
syntax: server_tokens on&#124;off<br />
default: server_tokens on<br />
context: http, server, location<br />
Whether to send the Nginx version number in error pages and Server header.</p>
<p>If you want to remove the name of the server completely you need to alter the source code prior to compiling.<br />
Edit /path/to/nginx-0.*/src/http/ngx_http_header_filter_module.c lines 48 and 49:</p>
<p>static char ngx_http_server_string[] = &#8220;Server: nginx&#8221; CRLF; static char ngx_http_server_full_string[] = &#8220;Server: &#8221; NGINX_VER CRLF;</p>
<p>Put in anything you like.<br />
If you want to edit NGINX_VER, it is defined,&#8230; <a href="http://www.goitworld.com/how-to-turn-off-server-version-for-nginx/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/how-to-turn-off-server-version-for-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to load balance with nginx</title>
		<link>http://www.goitworld.com/how-to-load-balance-with-nginx/</link>
		<comments>http://www.goitworld.com/how-to-load-balance-with-nginx/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 07:15:16 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[load balancer]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/how-to-load-balance-with-nginx/</guid>
		<description><![CDATA[<p>Nignx is a very great web server and load banlancer. In my “<a href="http://www.goitworld.com/category/server-world/nginx-server/">Nginx Server</a>” category have more about nginx. </p>
<p>If you want to configure load balancer with nginx,you can difine upstream to finish. </p>
<h3>
<p><a href="http://www.goitworld.com/tag/session/"></a></p>
<p><ins></ins><ins></ins></p>
<p> deployment overview</p></h3>
<p><b>real server1</b>    <br /><code><a href="http://www.domain1.com">www.domain1.com</a></code>    <br /><code>192.168.1.11</code></p>
<p><b>real server2</b>    <br /><code><a href="http://www.domain1.com">www.domain1.com</a></code>    <br /><code>192.168.1.12</code></p>
<p><b>load balancer</b>    <br /><code>balancer.domain1.com</code>    <br /><code>192.168.1.13     <br /></code>    </p>
<h1>master config part:</h1>
<p>worker_processes&#160; 20; </p>
<p>#error_log&#160; logs/error.log&#160; info; </p>
<p>#pid&#160;&#160;&#160;&#160;&#160;&#160;&#160; logs/nginx.pid;   <br />worker_rlimit_nofile 51200; </p>
<p>events {   <br />&#160;&#160;&#160;&#160;&#160; use epoll;    <br />&#160;&#160;&#160;&#160;&#160; worker_connections 51200;    <br />} </p>
<p>http {   <br />log_format&#160; www&#160; &#8216;$remote_addr &#8211; $remote_user&#8230; <a href="http://www.goitworld.com/how-to-load-balance-with-nginx/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/how-to-load-balance-with-nginx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Multiple domains load banlance with nginx</title>
		<link>http://www.goitworld.com/how-to-multiple-domains-load-banlance-with-nginx/</link>
		<comments>http://www.goitworld.com/how-to-multiple-domains-load-banlance-with-nginx/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 07:05:25 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[load balancer]]></category>
		<category><![CDATA[multitiple domains]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/how-to-multiple-domains-load-banlance-with-nginx/</guid>
		<description><![CDATA[<p>Nignx is a very great web server and load banlancer. In my “<a href="http://www.goitworld.com/category/server-world/nginx-server/">Nginx Server</a>” category have more about nginx.</p>
<p>If you want to configure multiple mongrel clusters to be used with multiple domains or sub-domains then define multiple upstream blocks and server blocks and add it to the same nginx config file.   </p>
<h1>master config part:</h1>
<p>worker_processes&#160; 20; </p>
<p>#error_log&#160; logs/error.log&#160; info; </p>
<p>#pid&#160;&#160;&#160;&#160;&#160;&#160;&#160; logs/nginx.pid;   <br />worker_rlimit_nofile 51200; </p>
<p>events {   <br />&#160;&#160;&#160;&#160;&#160; use epoll;    <br />&#160;&#160;&#160;&#160;&#160; worker_connections 51200;    <br />} </p>
<p>http {   <br />log_format&#160; www&#160; &#8216;$remote_addr &#8211; $remote_user [$time_local] $request &#8216;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;&#34;$status&#34; $body_bytes_sent &#34;$http_referer&#34; &#8216;&#8230; <a href="http://www.goitworld.com/how-to-multiple-domains-load-banlance-with-nginx/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/how-to-multiple-domains-load-banlance-with-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analysis access logs of Nginx by awstats</title>
		<link>http://www.goitworld.com/analysis-access-logs-of-nginx-by-awstats/</link>
		<comments>http://www.goitworld.com/analysis-access-logs-of-nginx-by-awstats/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 14:48:53 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Nginx Server]]></category>
		<category><![CDATA[awstats]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/analysis-access-logs-of-nginx-by-awstats/</guid>
		<description><![CDATA[<p><a name="1.Ç°ÑÔ">Foreword</a></p>
<p>In my previous article <a href="http://www.goitworld.com/nginx-visit-the-web-site-to-enhance-the-use-of-speed/" target="_blank">&#8220;Using Nginx to enhance the speed of site visits,&#8221;</a> introduced Nginx the HTTP server and how to accelerate through its Web site access.  In the actual Web site operators, we often need to understand that the site visit, for example, the number of IP day visit, PV is the number, which URL to visit the largest, most users browser which is what way to know this site and the number of users access to an error and so on, through mastering the information to improve the user experience, thereby improving the quality of&#8230; <a href="http://www.goitworld.com/analysis-access-logs-of-nginx-by-awstats/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/analysis-access-logs-of-nginx-by-awstats/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

