<?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>Frequently Asked Questions About Linux / UNIX &#187; Nginx</title> <atom:link href="http://www.cyberciti.biz/faq/category/nginx/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 03 Feb 2012 22:38:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Nginx Redirect URL With HTTP/1.1 301 Moved Permanently Header</title><link>http://www.cyberciti.biz/faq/unix-linux-bsd-nginx-redirect-url-http-301-status-code/</link> <comments>http://www.cyberciti.biz/faq/unix-linux-bsd-nginx-redirect-url-http-301-status-code/#comments</comments> <pubDate>Fri, 15 Jul 2011 11:03:46 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[/usr/local/nginx/sbin/nginx -s reload]]></category> <category><![CDATA[configuration file]]></category> <category><![CDATA[jsp]]></category> <category><![CDATA[location index]]></category> <category><![CDATA[nginx rewrite]]></category> <category><![CDATA[nginx try_files example]]></category> <category><![CDATA[regular expression]]></category> <category><![CDATA[replacement string]]></category> <category><![CDATA[reverse proxy]]></category> <category><![CDATA[ugly urls]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10855</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I redirect old ugly urls such as http://example.com/store/view.jsp?product=foo with clean url - http://example.com/store/view/product/foo using nginx reverse proxy?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/unix-linux-bsd-nginx-redirect-url-http-301-status-code/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Nginx: 413 Request Entity Too Large Error and Solution</title><link>http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/#comments</comments> <pubDate>Tue, 12 Jul 2011 08:29:39 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[/usr/local/nginx/conf/nginx.conf]]></category> <category><![CDATA[5mb]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[client request]]></category> <category><![CDATA[client_max_body_size]]></category> <category><![CDATA[content length]]></category> <category><![CDATA[fastcgi]]></category> <category><![CDATA[image file]]></category> <category><![CDATA[image upload]]></category> <category><![CDATA[images]]></category> <category><![CDATA[Nginx set client_max_body_size]]></category> <category><![CDATA[nginx.conf]]></category> <category><![CDATA[reverse proxy]]></category> <category><![CDATA[size image]]></category> <category><![CDATA[usr]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10810</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">I</span>'m running nginx as a frond end to php based Apache+mod_fastcgi server. My app lets user upload images upto 2MB in size.  When users trying to upload 1.5MB+ size image file using nginx reverse proxy, they are getting the following error on screen:<blockquote><strong><span
style='color: rgb(255, 0, 0);'>Nginx 413 Request Entity Too Large</span></strong></blockquote> How do I fix this problem and allow image upload upto 2MB in size?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>HowTo: Merge Apache / Lighttpd / Nginx Server Log Files</title><link>http://www.cyberciti.biz/faq/unix-linux-merging-multiple-access-logs-with-logfile-merger/</link> <comments>http://www.cyberciti.biz/faq/unix-linux-merging-multiple-access-logs-with-logfile-merger/#comments</comments> <pubDate>Wed, 23 Feb 2011 13:07:10 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[/usr/share/awstats/tools/logresolvemerge.pl]]></category> <category><![CDATA[apache cluster log analyzer]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[cluster apache log analyzer]]></category> <category><![CDATA[cron jobs]]></category> <category><![CDATA[Lighttpd cluster log analyzer]]></category> <category><![CDATA[load balancer]]></category> <category><![CDATA[logresolvemerge.pl command]]></category> <category><![CDATA[logs]]></category> <category><![CDATA[merger]]></category> <category><![CDATA[nginx cluster log analyzer]]></category> <category><![CDATA[reverse dns lookup]]></category> <category><![CDATA[server log files]]></category> <category><![CDATA[web server log]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10100</guid> <description><![CDATA[My ecommerce site runs using a cluster of Apache web server. The cluster is behind nginx load balancer. I want to merge backend Apache web server log files for statistics purpose. How do I mere web server log files under Linux / UNIX like operating systems using cron jobs? You need to use logresolvemerge Perl [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/unix-linux-merging-multiple-access-logs-with-logfile-merger/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Mediawiki Fix Internal Server Host Names / Redirection In shared Hosting or Proxy Setup</title><link>http://www.cyberciti.biz/faq/mediawiki-fix-internal-server-host-names-redirect-using-wgserver/</link> <comments>http://www.cyberciti.biz/faq/mediawiki-fix-internal-server-host-names-redirect-using-wgserver/#comments</comments> <pubDate>Sun, 19 Dec 2010 21:57:17 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[$wgServer = 'http://support.example.com/wiki';]]></category> <category><![CDATA[192 168 1 100]]></category> <category><![CDATA[apache server]]></category> <category><![CDATA[base url]]></category> <category><![CDATA[customer support]]></category> <category><![CDATA[host ip]]></category> <category><![CDATA[host names]]></category> <category><![CDATA[internal host]]></category> <category><![CDATA[internal server]]></category> <category><![CDATA[LocalSettings.php]]></category> <category><![CDATA[mediawiki $wgServer]]></category> <category><![CDATA[mediawiki $wgServer stop internal redirection]]></category> <category><![CDATA[protocol]]></category> <category><![CDATA[proxy server]]></category> <category><![CDATA[redirection]]></category> <category><![CDATA[server host]]></category> <category><![CDATA[server name]]></category> <category><![CDATA[timeouts]]></category> <category><![CDATA[websever]]></category> <category><![CDATA[wiki]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9650</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">O</span>ur customer support wiki runs on an internal host (ip:192.168.1.100:300, hostname <strong>a-node100.:300</strong>) and it is behind the <a
href="http://www.cyberciti.biz/faq/rhel-linux-install-nginx-as-reverse-proxy-load-balancer/">nginx reverse proxy server</a>. However, our Apache server end up displaying internal server name http://a-node100.:300/, which results into an unexpected redirection and timeouts as http://a-node100.:300/ is not accessible over the Internet. How do I force nginx or apache to use the base URL of our server (http://support.example.com/wiki/)?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/mediawiki-fix-internal-server-host-names-redirect-using-wgserver/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>nginx: Create HTTP 503 Maintenance Custom Page</title><link>http://www.cyberciti.biz/faq/custom-nginx-maintenance-page-with-http503/</link> <comments>http://www.cyberciti.biz/faq/custom-nginx-maintenance-page-with-http503/#comments</comments> <pubDate>Wed, 08 Dec 2010 12:21:59 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/usr/local/nginx/config/nginx.conf]]></category> <category><![CDATA[/usr/local/nginx/sbin/nginx -s reload]]></category> <category><![CDATA[access log]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[apologies]]></category> <category><![CDATA[document root]]></category> <category><![CDATA[error 503]]></category> <category><![CDATA[html error]]></category> <category><![CDATA[html page]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[request method]]></category> <category><![CDATA[request methods]]></category> <category><![CDATA[search engines]]></category> <category><![CDATA[server error]]></category> <category><![CDATA[server name]]></category> <category><![CDATA[temporary inconvenience]]></category> <category><![CDATA[temporary state]]></category> <category><![CDATA[web server maintenance]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9582</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">I</span> know how to create a custom <a
href="http://www.cyberciti.biz/tips/howto-disable-site-for-maintenance-with-503-error.html">http 503 maintenance page under Lighttpd or Apache</a> web server. How do I create a custom Nginx web server maintenance page?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/custom-nginx-maintenance-page-with-http503/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress Rename Image URL For a CDN Usage</title><link>http://www.cyberciti.biz/faq/wordpress-offloading-old-static-images-urls-to-cdn-urls/</link> <comments>http://www.cyberciti.biz/faq/wordpress-offloading-old-static-images-urls-to-cdn-urls/#comments</comments> <pubDate>Sat, 20 Nov 2010 20:41:47 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[/etc/httpd/conf/httpd.conf]]></category> <category><![CDATA[/etc/lighttpd/lighttpd.conf]]></category> <category><![CDATA[/usr/local/etc/nginx/nginx.conf]]></category> <category><![CDATA[Apache HTTP 301 redirect]]></category> <category><![CDATA[assets]]></category> <category><![CDATA[backup database]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[cdn]]></category> <category><![CDATA[Content Delivery Network]]></category> <category><![CDATA[expression search]]></category> <category><![CDATA[HTTPD HTTP 301 redirect]]></category> <category><![CDATA[Lighttpd HTTP 301 redirect]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[mysqldump]]></category> <category><![CDATA[mysqldump command]]></category> <category><![CDATA[nginx HTTP 301 redirect]]></category> <category><![CDATA[php code]]></category> <category><![CDATA[regular expression]]></category> <category><![CDATA[regular expressions]]></category> <category><![CDATA[static images]]></category> <category><![CDATA[supercache]]></category> <category><![CDATA[tar command]]></category> <category><![CDATA[UNIX]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9427</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">R</span>ecently, we moved all our static assets to a <a
href="http://www.cyberciti.biz/tips/wordpress-cdn-content-delivery-network-configuration.html">CDN as described here</a>. However, we have over 8000+ old blog posts and we need to point static images url to our CDN account hosted at http://MyACCOUNT.cloudfront.net/images/ folder. How do I rename all image urls stored in wordpress posts? How do I offload static images to a CDN urls under Wordpress?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/wordpress-offloading-old-static-images-urls-to-cdn-urls/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>NGINX: Create Custom 404 / 403 Error Page</title><link>http://www.cyberciti.biz/faq/howto-nginx-customizing-404-403-error-page/</link> <comments>http://www.cyberciti.biz/faq/howto-nginx-customizing-404-403-error-page/#comments</comments> <pubDate>Wed, 17 Nov 2010 19:39:27 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/usr/local/nginx/conf/nginx.conf]]></category> <category><![CDATA[/usr/local/nginx/sbin/nginx -t]]></category> <category><![CDATA[apologies]]></category> <category><![CDATA[custom 404]]></category> <category><![CDATA[document root]]></category> <category><![CDATA[html location]]></category> <category><![CDATA[http 404]]></category> <category><![CDATA[nginx error_page]]></category> <category><![CDATA[nginx error_page 403]]></category> <category><![CDATA[nginx error_page 403 forbidden]]></category> <category><![CDATA[nginx error_page 404]]></category> <category><![CDATA[nginx error_page 404 not found]]></category> <category><![CDATA[page error]]></category> <category><![CDATA[reload nginx]]></category> <category><![CDATA[temporary inconvenience]]></category> <category><![CDATA[web page]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9378</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I create a custom static HTTP 404 or HTTP 403 error page under nginx web server?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/howto-nginx-customizing-404-403-error-page/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>nginx: Install GeoIP Module For Country / City Level Geo Targeting</title><link>http://www.cyberciti.biz/faq/linux-unix-nginx-geoip-module-configuration/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-nginx-geoip-module-configuration/#comments</comments> <pubDate>Tue, 05 Oct 2010 05:10:46 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/usr/local/bin/geoiplookup]]></category> <category><![CDATA[/usr/local/bin/geoipupdate]]></category> <category><![CDATA[/usr/local/etc/GeoIP.conf]]></category> <category><![CDATA[/usr/local/nginx/sbin/nginx -s reload]]></category> <category><![CDATA[/usr/local/share/GeoIP/GeoLiteCity.dat]]></category> <category><![CDATA[geolite]]></category> <category><![CDATA[ip location]]></category> <category><![CDATA[maxmind]]></category> <category><![CDATA[nginx reload]]></category> <category><![CDATA[openssl]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=8947</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I install GeoIP nginx module for country and/or city level geo targeting?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-nginx-geoip-module-configuration/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Nginx: Configure and Install With IPv6 Networking Support</title><link>http://www.cyberciti.biz/faq/nginx-ipv6-configuration/</link> <comments>http://www.cyberciti.biz/faq/nginx-ipv6-configuration/#comments</comments> <pubDate>Thu, 22 Jul 2010 01:52:06 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[ipv6]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[/usr/local/nginx/conf/nginx.conf]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[config]]></category> <category><![CDATA[ipv4 and ipv6]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[linux network configuration]]></category> <category><![CDATA[netstat command]]></category> <category><![CDATA[Networking]]></category> <category><![CDATA[nginx IPv6]]></category> <category><![CDATA[nginx listen IPv4 and IPv6]]></category> <category><![CDATA[nginx listen ipv6]]></category> <category><![CDATA[novell]]></category> <category><![CDATA[opensuse]]></category> <category><![CDATA[restart nginx]]></category> <category><![CDATA[ssl module]]></category> <category><![CDATA[Suse]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=8506</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I configure IPv6 networking under nginx? How do I assign and use an IPv6 address under nginx web server? How do I enable IPv6 Support in nginx?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/nginx-ipv6-configuration/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>nginx: Send HTTP User Agent Requests To Specific Backend Server</title><link>http://www.cyberciti.biz/faq/nginx-if-conditional-http_user_agent-requests/</link> <comments>http://www.cyberciti.biz/faq/nginx-if-conditional-http_user_agent-requests/#comments</comments> <pubDate>Fri, 16 Jul 2010 01:10:56 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[agent requests]]></category> <category><![CDATA[curly braces]]></category> <category><![CDATA[existence]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[mozilla]]></category> <category><![CDATA[nginx $http_user_agent]]></category> <category><![CDATA[nginx if conditional]]></category> <category><![CDATA[operating system]]></category> <category><![CDATA[parentheses]]></category> <category><![CDATA[regular expressions]]></category> <category><![CDATA[server ip]]></category> <category><![CDATA[servers]]></category> <category><![CDATA[symbolic link]]></category> <category><![CDATA[syntax]]></category> <category><![CDATA[variables]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=8391</guid> <description><![CDATA[<div
style="float: right; margin-top: 0px; margin-left: 5px;"><a
title="See all Nginx webserver related FAQ" href="http://www.cyberciti.biz/faq/category/nginx/"><img
src="http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif" border="0" alt="" /></a></div> <span
class="drop_cap">I</span>'ve tons of images, css and javascript hosted at backend server IP 192.168.1.5 and 192.168.1.6. How do I make sure nginx reverse proxy load balancer always send all http_user_agent requests coming from "Mozilla" to server 192.168.1.5 and MSIE to server 192.168.1.6 only?  ]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/nginx-if-conditional-http_user_agent-requests/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Nginx: 24: Too Many Open Files Error And Solution</title><link>http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/#comments</comments> <pubDate>Thu, 06 May 2010 06:58:11 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[/usr/local/nginx/conf/nginx.conf]]></category> <category><![CDATA[fs.file-max sysctl]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[linux max open files]]></category> <category><![CDATA[max open files linux]]></category> <category><![CDATA[reload nginx]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[web server]]></category> <category><![CDATA[worker_rlimit_nofile]]></category> <category><![CDATA[worker_rlimit_nofile 10240]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=7302</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">I</span>'m getting the following error in my nginx server error log file:<blockquote>2010/04/16 13:24:16 [crit] 21974#0: *3188937 open() "<strong><span
style='color: rgb(255, 0, 0);'>/usr/local/nginx/html/50x.html" failed (24: Too many open files)</span></strong>, client: 88.x.y.z, server: example.com, request: "GET /file/images/background.jpg HTTP/1.1", upstream: "http://10.8.4.227:81//file/images/background.jpg", host: "example.com"</blockquote> How do I fix this problem under CentOS / RHEL / Fedora Linux or UNIX like operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Nginx: Custom Error 403 Page Not Working with IP Deny Configuration</title><link>http://www.cyberciti.biz/faq/unix-linux-nginx-custom-error-403-page-configuration/</link> <comments>http://www.cyberciti.biz/faq/unix-linux-nginx-custom-error-403-page-configuration/#comments</comments> <pubDate>Wed, 14 Apr 2010 09:10:44 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[/usr/local/etc/nginx/nginx.conf]]></category> <category><![CDATA[custom error]]></category> <category><![CDATA[error 403]]></category> <category><![CDATA[error message]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[reload nginx]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=7192</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">I</span> <a
href="http://www.cyberciti.biz/faq/linux-unix-nginx-access-control-howto/">block or deny access based on the host name or IP address</a> of the client visiting website under nginx web server. I want to display customized e403.html error page, but it doesn't appear to be working. Nginx always displays the built-in, hardcoded "403 Forbidden" error message. Here is my configuration:<pre>.....
  ...
 deny 1.2.3.4;
 deny 91.212.45.0/24;
 deny 91.212.65.0/24;
 .....
 ...
 error_page 403 /e403.html;
        location = /e403.html {
           root   html;
       }
</pre>How do I fix this problem and display custom error 403 page under nginx server?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/unix-linux-nginx-custom-error-403-page-configuration/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Linux nginx: Chroot (Jail) Setup</title><link>http://www.cyberciti.biz/faq/howto-run-nginx-in-a-chroot-jail/</link> <comments>http://www.cyberciti.biz/faq/howto-run-nginx-in-a-chroot-jail/#comments</comments> <pubDate>Tue, 06 Apr 2010 09:34:53 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[High Availability]]></category> <category><![CDATA[KeepAlived]]></category> <category><![CDATA[Nginx]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=7055</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I run Nginx web server in a chroot (jail) so that I can minimizes the damage done by a potential break-in by isolating the web server to a small section of the filesystem?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/howto-run-nginx-in-a-chroot-jail/feed/</wfw:commentRss> <slash:comments>17</slash:comments> </item> <item><title>nginx: Setup SSL Reverse Proxy (Load Balanced SSL Proxy)</title><link>http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/</link> <comments>http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/#comments</comments> <pubDate>Thu, 01 Apr 2010 12:27:07 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[High Availability]]></category> <category><![CDATA[KeepAlived]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[acceleration software]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[load balancer]]></category> <category><![CDATA[load distribution]]></category> <category><![CDATA[proxy server]]></category> <category><![CDATA[reverse proxy]]></category> <category><![CDATA[server encryption]]></category> <category><![CDATA[static content]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6960</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">A</span> reverse proxy is a proxy server that is installed in a server network. Typically, reverse proxies are used in front of Web servers such as Apache, IIS, and Lighttpd. How do I setup nginx web server as SSL reverse proxy?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>nginx: Send Custom HTTP Headers</title><link>http://www.cyberciti.biz/faq/nginx-send-custom-http-headers/</link> <comments>http://www.cyberciti.biz/faq/nginx-send-custom-http-headers/#comments</comments> <pubDate>Mon, 15 Mar 2010 10:47:17 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6820</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I send or set arbitrary HTTP headers using nginx web server?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/nginx-send-custom-http-headers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Handling nginx Failover With KeepAlived</title><link>http://www.cyberciti.biz/faq/handling-nginx-failover-with-keepalived/</link> <comments>http://www.cyberciti.biz/faq/handling-nginx-failover-with-keepalived/#comments</comments> <pubDate>Thu, 25 Feb 2010 08:34:55 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[High Availability]]></category> <category><![CDATA[KeepAlived]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[/etc/init.d/keepalived restart]]></category> <category><![CDATA[/usr/local/etc/keepalived/keepalived.conf]]></category> <category><![CDATA[authentication]]></category> <category><![CDATA[backup server]]></category> <category><![CDATA[failover]]></category> <category><![CDATA[interface]]></category> <category><![CDATA[kernel upgrades]]></category> <category><![CDATA[priority]]></category> <category><![CDATA[virtual ip]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6625</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do configure to release and obtain VIP (virtual IP) when nginx is dead, down or system is rebooted for the kernel upgrades?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/handling-nginx-failover-with-keepalived/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>CentOS / Redhat: Install nginx As Reverse Proxy Load Balancer</title><link>http://www.cyberciti.biz/faq/rhel-linux-install-nginx-as-reverse-proxy-load-balancer/</link> <comments>http://www.cyberciti.biz/faq/rhel-linux-install-nginx-as-reverse-proxy-load-balancer/#comments</comments> <pubDate>Wed, 24 Feb 2010 20:40:47 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[High Availability]]></category> <category><![CDATA[KeepAlived]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[apache web servers]]></category> <category><![CDATA[backend software]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Linux Reverse Proxy Load Balancer]]></category> <category><![CDATA[load balancer]]></category> <category><![CDATA[Networking]]></category> <category><![CDATA[proxy server]]></category> <category><![CDATA[Reverse Proxy Load Balancer]]></category> <category><![CDATA[Reverse Proxy Server]]></category> <category><![CDATA[virtual ip address]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6590</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I configure nginx as failover reverse proxy load balancer in front of two Apache web servers under CentOS / RHEL 5.x?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/rhel-linux-install-nginx-as-reverse-proxy-load-balancer/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>CentOS / Redhat Linux: Install Keepalived To Provide IP Failover For Web Cluster</title><link>http://www.cyberciti.biz/faq/rhel-centos-fedora-keepalived-lvs-cluster-configuration/</link> <comments>http://www.cyberciti.biz/faq/rhel-centos-fedora-keepalived-lvs-cluster-configuration/#comments</comments> <pubDate>Sun, 21 Feb 2010 10:18:12 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[High Availability]]></category> <category><![CDATA[KeepAlived]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[/etc/init.d/keepalived]]></category> <category><![CDATA[/usr/local/etc/keepalived/keepalived.conf]]></category> <category><![CDATA[/var/log/messages]]></category> <category><![CDATA[backend software]]></category> <category><![CDATA[clusters]]></category> <category><![CDATA[internet isp]]></category> <category><![CDATA[keepalived.conf]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[load balancer]]></category> <category><![CDATA[proxy server]]></category> <category><![CDATA[robust health]]></category> <category><![CDATA[server failover]]></category> <category><![CDATA[server pool]]></category> <category><![CDATA[setup internet]]></category> <category><![CDATA[virtual ip address]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6552</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">K</span>eepalived provides a strong and robust health checking for LVS clusters. It implements a framework of health checking on multiple layers for server failover, and VRRPv2 stack to handle director failover. How do I install and configure Keepalived for reverse proxy server such as nginx or lighttpd?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/rhel-centos-fedora-keepalived-lvs-cluster-configuration/feed/</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>mod_extforward: Lighttpd Log Clients Real IP Behind Reverse Proxy / Load Balancer</title><link>http://www.cyberciti.biz/faq/nginx-extract-the-clients-real-ip-from-x-forwarded-for-header/</link> <comments>http://www.cyberciti.biz/faq/nginx-extract-the-clients-real-ip-from-x-forwarded-for-header/#comments</comments> <pubDate>Mon, 01 Feb 2010 12:43:40 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[/etc/lighttpd/lighttpd.conf]]></category> <category><![CDATA[accesslog]]></category> <category><![CDATA[centos restart lighttpd]]></category> <category><![CDATA[extforward.forwarder]]></category> <category><![CDATA[ip header]]></category> <category><![CDATA[lighttpd.conf]]></category> <category><![CDATA[nginx reverse proxy]]></category> <category><![CDATA[nginx reverse proxy for lighttpd]]></category> <category><![CDATA[proxy server configuration]]></category> <category><![CDATA[redhat restart lighttpd]]></category> <category><![CDATA[restart lighttpd]]></category> <category><![CDATA[reverse proxy]]></category> <category><![CDATA[rhel restart lighttpd]]></category> <category><![CDATA[server modules]]></category> <category><![CDATA[server nodes]]></category> <category><![CDATA[squid]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6353</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/lighttpd/' title='See all Lighttpd related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/light_logo.png' border='0' /></a></div> <span
class="drop_cap">I</span>'ve setup 5 lighttpd web servers behind Nginx based reverse proxy / load balancer to distribute load for busy e-commerce website. However,  all web server nodes putting  my load balncers two IP address in access log file. How do I force lighttpd to log a real IP (public IP) address of all client computers visiting our website?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/nginx-extract-the-clients-real-ip-from-x-forwarded-for-header/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Nginx Force (Redirect) WWW.Domain.COM To Domain.COM</title><link>http://www.cyberciti.biz/faq/nginx-redirect-www-example-com-to-example-com/</link> <comments>http://www.cyberciti.biz/faq/nginx-redirect-www-example-com-to-example-com/#comments</comments> <pubDate>Wed, 13 Jan 2010 08:11:36 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Nginx]]></category> <category><![CDATA[/etc/nginx/nginx.conf]]></category> <category><![CDATA[/usr/local/etc/nginx/nginx.conf]]></category> <category><![CDATA[/usr/local/nginx/conf/nginx.conf]]></category> <category><![CDATA[/usr/local/nginx/sbin/nginx -s reload]]></category> <category><![CDATA[if someone comes with no www redirect it to www.domain.com]]></category> <category><![CDATA[if someone comes with no www redirect it to www.domain.com nginx]]></category> <category><![CDATA[nginx force www]]></category> <category><![CDATA[nginx forced redirect]]></category> <category><![CDATA[nginx redirect]]></category> <category><![CDATA[nginx redirect url configuration]]></category> <category><![CDATA[nginx redirect www]]></category> <category><![CDATA[nginx url.redirect]]></category> <category><![CDATA[redirect domain.com to www.domain.com nginx]]></category> <category><![CDATA[reload nginx]]></category> <category><![CDATA[restart nginx]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6313</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/nginx/' title='See all Nginx webserver related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/nginx.gif' border='0' /></a></div> <span
class="drop_cap">I</span> know <a
href="http://www.cyberciti.biz/tips/lighttpd-redirect-www-domaincom-to-domain-com.html">how to force and redirect</a> www.example.com to example.com under Lighttpd web server. How do I force nginx web server to redirect www.example.com/page/1/2/3 to example.com/page/1/2/3?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/nginx-redirect-www-example-com-to-example-com/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss>
