On Sun, May 03, 2009 at 02:05:57AM -0400, Jim Ohlstein wrote: > > > Igor Sysoev wrote: > >On Sun, May 03, 2009 at 01:18:30AM -0400, Jim Ohlstein wrote: > > > > > >>Igor Sysoev wrote: > >> > >>>On Sat, May 02, 2009 at 11:16:47PM -0400, Jim Ohlstein wrote: > >>> > >>> > >>> >by Igor Sysoev - Nginx Mailing List - English
On Sun, May 03, 2009 at 01:18:30AM -0400, Jim Ohlstein wrote: > > > Igor Sysoev wrote: > >On Sat, May 02, 2009 at 11:16:47PM -0400, Jim Ohlstein wrote: > > > > > >>Correction: > >> > >>The question should read: > >> > >>Do I need to use two fastcgi_cache_key settings if a site serves both > >>http aby Igor Sysoev - Nginx Mailing List - English
On Sun, May 03, 2009 at 05:05:45AM +0200, Joe Bofh wrote: > How do I do so? Thanks. ./configure --with-debug ... nginx.conf: events { debug_connection your.ip.address; } > Igor Sysoev wrote: > > On Sat, May 02, 2009 at 09:03:57AM +0200, Joe Bofh wrote: > > > >> It comes from PHP > > > > Could you create debug log ? > > -by Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 11:16:47PM -0400, Jim Ohlstein wrote: > Correction: > > The question should read: > > Do I need to use two fastcgi_cache_key settings if a site serves both http and https? If you use the same backend - no: server { listen 80; location / { fastcgi_pass backend:9000; fastcgi_cache_keby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 21, 2009 at 06:41:31PM +0700, Glen Lumanau wrote: > location ~ \.php$ { > fastcgi_pass 127.0.0.1:9000; > fastcgi_param SCRIPT_FILENAME > /home/myhome/web$fastcgi_script_name; > fastcgi_index index.php; > fastcgi_cache one; > fastcgi_cache_key 127.0.0.1:9by Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 21, 2009 at 06:41:31PM +0700, Glen Lumanau wrote: > location ~ \.php$ { > fastcgi_pass 127.0.0.1:9000; > fastcgi_param SCRIPT_FILENAME > /home/myhome/web$fastcgi_script_name; > fastcgi_index index.php; > fastcgi_cache one; > fastcgi_cache_key 127.0.0.1:9by Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 21, 2009 at 05:49:24PM +0700, Glen Lumanau wrote: > Please check http://pastebin.com/d448b8b03 > > I've uploaded the livehttpheaders At least http://www.kompas-tv.com/modules/mod_smo_ajax_shoutbox_css.php should be cacheable. Probably it is handled by not @joomla, but by something like location ~ "\.php$". > -----Original Message----- > Fromby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 21, 2009 at 05:51:57PM +0700, Glen Lumanau wrote: > # tail -f /var/log/nginx/error.log | grep data > 2009/04/21 17:51:21 30424#0: cache file: > "/data/nginx/cache/3/06/6fecda1e6dc4d639bbfabfe771b63063" > 2009/04/21 17:51:21 30424#0: cache file: > "/data/nginx/cache/8/00/7df93c5fa8eb0301382ec66dc9e54008" > 2009/04/21 17:51:23 30425#0: cacby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 21, 2009 at 04:02:57PM +0700, Glen Lumanau wrote: > How do i check that? Becase i'm using default configuration If you use Firefox: http://livehttpheaders.mozdev.org Could you create debug log ? > -----Original Message----- > From: owner-nginx@sysoev.ru On Behalf Of Igor > Sysoev > Sent: 21 April 2009 15:54 > To: nginx@sysoev.ru > Subject: Re: whby Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 09:18:51PM +0400, Igor Sysoev wrote: > On Sat, May 02, 2009 at 06:50:25PM +0200, Chris Wan wrote: > > > Igor Sysoev wrote: > > > On Sat, May 02, 2009 at 04:57:36PM +0200, Chris Wan wrote: > > > > > >> > > >> I run 0.7.54 nginx/windows, but I found the nginx don't work at all when > > >> I set &qby Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 06:50:25PM +0200, Chris Wan wrote: > Igor Sysoev wrote: > > On Sat, May 02, 2009 at 04:57:36PM +0200, Chris Wan wrote: > > > >> > >> I run 0.7.54 nginx/windows, but I found the nginx don't work at all when > >> I set "worker_processes 4". > >> > >> command "telnet 127.0.0.1 80" isby Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 11:53:18AM -0500, Resicow wrote: > Hello, > > I have a question on for nginx handles restarts and proxy_cache. > > Say I have 2 million objects cached, taking up 50GBs of space. Then I > get a kernel panic or some other error, and have to restart the physical > machine. > > When I start nginx up again the 2 million objects are stilby Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 11:31:10AM -0500, AMP Admin wrote: > I just can't seem to get rid of my logs filling up with 'closed keepalive > connection'. error_log /path/to/log notice; -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 05:44:26PM +0200, Aleksandar Lazic wrote: > On Sam 02.05.2009 17:47, Igor Sysoev wrote: > >On Sat, May 02, 2009 at 05:34:59AM -0400, kernelforce wrote: > > > >>Recently, I got Nginx-0.7.54(official Windows binary), it is simply > >>to install, I'm very apperciate it. > > > > >Look in the event log and c:/nginx/loby Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 04:57:36PM +0200, Chris Wan wrote: > Igor Sysoev wrote: > > Changes with nginx 0.7.54 01 May > > 2009 > > *) Bugfix: improve handling of "select" method errors. > > > > *) Bugfix: of "select() failed (10022: ...)" error in nginx/Windows. > > > > *by Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 05:34:59AM -0400, kernelforce wrote: > Recently, I got Nginx-0.7.54(official Windows binary), it is simply to install, I'm very apperciate it. > > But in this version, Nginx must be started as > > cd c:\nginx > start nginx > > > My question is how to make it run as a windows service? > Which is important for a server to start thby Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 10:59:21PM -0700, Payam Chychi wrote: > hey Guys, > > Any ideas on how to kill keep-alive ? I need to simulate http 1.0 > > keep-alive close; does not work Probably, you need keepalive_timeout 0; -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 09:03:57AM +0200, Joe Bofh wrote: > It comes from PHP Could you create debug log ? > Igor Sysoev wrote: > > On Sat, May 02, 2009 at 12:26:25AM +0200, Joe Bofh wrote: > > > >> > >> > >> > >> How do I get nginx to gzip content for the first site? It should ignore > >> the charset which should nby Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 11:02:17PM -0700, Payam Chychi wrote: > 2009/5/1 Igor Sysoev <is@rambler-co.ru>: > > On Fri, May 01, 2009 at 12:55:15PM -0700, Payam Chychi wrote: > > > >> I cant seem to get this working... im trying to look at the host field > >> within the header and match it against an ip, if it a hit, I want to > >> redirect to 40by Igor Sysoev - Nginx Mailing List - English
On Sat, May 02, 2009 at 12:26:25AM +0200, Joe Bofh wrote: > I have 2 sites set up, one gzips the js and css as requested with no > issues and the other does not. I spent some time scratching my head on > this one till I noticed the following > > > The site that does not compress when requested has: > > Content-Type: application/x-javascript; charset=utf-8 >by Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 12:55:15PM -0700, Payam Chychi wrote: > I cant seem to get this working... im trying to look at the host field > within the header and match it against an ip, if it a hit, I want to > redirect to 403 > Normally there should be a domain set as the host, not ip... I do not understan the question, but probably you need something like this: server {by Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.7.54 01 May 2009 *) Feature: the ngx_http_image_filter_module. *) Feature: the "proxy_ignore_headers" and "fastcgi_ignore_headers" directives. *) Bugfix: a segmentation fault might occur in worker process, if an "open_file_cache_errors off" directive was used; the bug haby Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 10:15:44AM +0200, Joe Bofh wrote: > Igor, > > While I have your attention, is there a better way to write status > blocks than the following? I figure this would be useful information for > everyone. > > error_page 500 502 503 504 /500.html; > location = /500.html { > expires 5d; > root /var/www/crm; >by Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 05:27:10PM +1000, Tristan Griffiths wrote: > > -----Original Message----- > > From: owner-nginx@sysoev.ru On Behalf > Of > > Igor Sysoev > > Sent: Friday, 1 May 2009 4:50 PM > > To: nginx@sysoev.ru > > Subject: Re: nginx + ip_nonlocal_bind > > > > On Fri, May 01, 2009 at 04:26:55PM +1000, Tristan Griffiths wrotby Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 10:54:49AM +0400, Igor Sysoev wrote: > On Thu, Apr 30, 2009 at 11:53:16PM -0700, Michael Shadle wrote: > > > 2009/4/30 Igor Sysoev <is@rambler-co.ru>: > > > > >by Igor Sysoev - Nginx Mailing List - English
On Thu, Apr 30, 2009 at 11:53:16PM -0700, Michael Shadle wrote: > 2009/4/30 Igor Sysoev <is@rambler-co.ru>: > > >by Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 04:26:55PM +1000, Tristan Griffiths wrote: > Greetings. > > We would like to setup our Nginx instances in a HA pair. Using > Heartbeat, we have Nginx listening on virtual addresses on the active > server. > > On the passive server, we cannot get Nginx to start up because those > virtual (or floating) address are not configured on the servby Igor Sysoev - Nginx Mailing List - English
On Thu, Apr 30, 2009 at 11:16:42PM -0700, Michael Shadle wrote: > sorry, that was supposed to be bar.com - i just messed up substituting > > 2009/4/30 Igor Sysoev <is@rambler-co.ru>: > > > First, "~^foo(.*?)\.bar\.ssgisp\.com$" will never match "foo2.mike.bar.com". > > Second, "~^foo(.*?)\.bar\.com$" will capture "2.mike&quby Igor Sysoev - Nginx Mailing List - English
On Fri, May 01, 2009 at 08:38:25AM +0200, Joe Bofh wrote: > Hmm, that's kinda hard to do with this block. > > location / { > root /var/www/crm; > access_log off; > > index index.php index.html; > fastcgi_param SCRIPT_FILENAME /var/www/crm/index.php; > > if (-f $request_filename) { > expires 1d; >by Igor Sysoev - Nginx Mailing List - English
On Thu, Apr 30, 2009 at 11:26:05PM -0700, Michael Shadle wrote: > 2009/4/30 Igor Sysoev <is@rambler-co.ru>: > > >by Igor Sysoev - Nginx Mailing List - English