On Fri, Jun 12, 2009 at 06:05:34PM +0200, Szymon Polom wrote: > I'm trying to shift my nginx instance from a multi-subdomain-setting to > a one-domain-setting. I have the following config in the same server > context: > > location /redmine/ { > root /var/www/redmine/public; > passenger_enabled on; > } > > location /test/ { > root /var/www/test;by Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 11, 2009 at 06:40:22AM -0400, ehudros2 wrote: > Of course. Here is my configure command: > ./configure --sbin-path=/usr/sbin --with-http_ssl_module --conf-path=/etc/nginx --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-http_perl_module --prefix=/etc/nginx > > I've noticed the "checking for perl" line this time (reaby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 08, 2009 at 03:04:47AM -0400, ehudros2 wrote: > Hi guys, > seems like ./configure does not check for perl (I dont see that line and ./configure | grep perl also comes back empty). > So does "grep lperl objs/Makefile". > > Any idea why that is? > I'm really thankful for all your help ;) Could you show full configure output, including command lineby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 10, 2009 at 10:35:43AM -0500, Resicow wrote: > This is great; looking forward to seeing cache stats in the log. > > I apologize I don't fully understand the updating parameter, and how to > use or when to use it? > > Does that mean if active then a stale request will be used, but then > will be updated by nginx? If a stale cached response is updatinby Igor Sysoev - Nginx Mailing List - English
The patch to enable $upstream_cache_status. Possible values: MISS EXPIRED expired, request was passed to backend UPDATING expired, stale response was used due to proxy/fastcgi_cache_use_stale updating STALE expired, stale response was used due to proxy/fastcgi_cache_use_stale HIT -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 10, 2009 at 01:06:32PM +0200, andan andan wrote: > 2009/6/10 Igor Sysoev <is@rambler-co.ru>: > > On Wed, Jun 10, 2009 at 12:24:02PM +0200, andan andan wrote: > > > >> 2009/6/10 Igor Sysoev <is@rambler-co.ru>: > >> > On Wed, Jun 10, 2009 at 11:49:00AM +0200, andan andan wrote: > >> > > >> >> We have twoby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 10, 2009 at 12:24:02PM +0200, andan andan wrote: > 2009/6/10 Igor Sysoev <is@rambler-co.ru>: > > On Wed, Jun 10, 2009 at 11:49:00AM +0200, andan andan wrote: > > > >> We have two nginx serving static objects from a shared NFS partition, > >> and we are using open_file_cache for performance purposes: > >> > >> With nginxby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 10, 2009 at 11:49:00AM +0200, andan andan wrote: > We have two nginx serving static objects from a shared NFS partition, > and we are using open_file_cache for performance purposes: > > With nginx 0.6.x, when the developers uploads files, during a few > seconds (less than 30s) we see this errors in logs: > > 2721#0: *75303 sendfile() failed (116: Staleby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 09, 2009 at 01:30:50PM +0200, Artifex Maximus wrote: > Hello! > > I am pretty newbie to nginx and having problem on protecting my links. > I am using valid_referers but is it possible using cookies for make it > stronger? > > For example I set cookie uid with nginx's userid in 'location / {}' > and check somehow under 'location /download/ {}' for cooby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 09, 2009 at 10:12:43AM +0200, andan andan wrote: > 2009/6/9 Phillip Oldham <phill@theactivitypeople.co.uk>: > > I'm using a custom perl script in the following way: > > > > location ~ ^/resources { > > error_page 404 @fallback; > > } > > > > location @fallback { > > perl MyModule::handler; > > } > &gby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 08, 2009 at 05:51:32PM +0200, J?r?me Loyet wrote: > Hi igor, I have 2 questions: > > 1- is there a way to disable the creation of directories if they don't > exist (like fastcgi_temp or client_body_temp) and pop-up en emergency > message instead ? I don't want nginx to create top directories without > notify me. I prefer having an error and correct it myselfby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 08, 2009 at 03:47:48PM +0200, J?r?me Loyet wrote: > 2009/6/8 Igor Sysoev <is@rambler-co.ru>: > > Changes with nginx 0.8.1by Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 08, 2009 at 01:01:41PM +0100, Phillip Oldham wrote: > Hi. I'm trying to compile nginx with a module which has worked with > older versions of nginx (0.5.x I believe). The error message I'm getting > isn't very helpful: > > > make: *** Error 2 > > Is there a build log I can review so I can track down the problem? I'm > new to C development, andby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.1 08 Jun 2009 *) Feature: the "updating" parameter in "proxy_cache_use_stale" and "fastcgi_cache_use_stale" directives. *) Bugfix: the "If-Modified-Since", "If-Range", etc. client request header lines were passed to backend while caching if no &qby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 08, 2009 at 01:39:12PM +0400, Antonio L. wrote: > Hello! > We recently started using Nginx 0.7.59 to replace Squid on a couple of our > static file caching servers (Debian 5.0). However, nginx is returning "HTTP > 304 Not Modified" responses for some?not all?of the cached images, even if > the browser doesn't send an If-modified-since header -- causing lby Igor Sysoev - Nginx Mailing List - English
On Sun, Jun 07, 2009 at 03:26:58AM -0700, Michael Shadle wrote: > I think 0.8.x should introduce pluggable modules. > > Then the distros could support a stripped down basic version with > optional modules, and then just have a "module foo;" line or something > in the nginx.conf. I don't think it would take too much overhead as > it's only run during startup...by Igor Sysoev - Nginx Mailing List - English
On Sun, Jun 07, 2009 at 07:58:49AM -0400, ehudros2 wrote: > Thanks for the help guys... > Here's my configure line: > ./configure --sbin-path=/usr/sbin --with-http_ssl_module --conf-path=/etc/nginx --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-http_perl_module --prefix=/etc/nginx > > I get a ton of "undefined reference"by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 08:14:26PM -0400, Meng wrote: > Sorry Igor, > > I can not see your answer. Your post might be truncated by accident? > > Could you kindly post your answer again? On the bottom: Have you looked in error_log, the primary place to look for ? -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 02:43:57PM -0400, MasterMind wrote: > Is nginx/Windows-0.8.0 compiled under Cygwin? How much slower is the windows version of Nginx compared to the Linux version? I read somewhere that the Cygwin version is 500 times slower than the linux version. No, nginx/Windows-0.8.0 is native Win32 application built by MSVC8. nginx/Windows is faster than nginx/Cygwin, see simby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 10:03:19AM -0400, toomasp wrote: > What patch are you talking about? ..and why isn't it in 0.8.0? http://forum.nginx.org/file.php?2,file=52,filename=patch.0.7.59.1,download=1 It will be available in 0.8.1 and 0.7.60. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 09:28:06AM -0400, ehudros2 wrote: > So there is no way I can calculate a time string in runtime unless I'm using expire? You may try to use builtin perl: http { perl_var $user_exp 'sub { return scalar (localtime(time() + 300 * 86400)) }'; location ... add_header User-Expires $user_exp; -- Igor Sysoev http://sysoev.ruby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 09:10:39AM -0400, Oliver wrote: > Speaking of development branch, is 0.7.* now considered stable and > 0.8.* is the new experimental dev branch ? Yes: http://forum.nginx.org/read.php?2,2335 -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 08:24:14AM -0400, ehudros2 wrote: > How can I set that header to 30 days from now, as I do with expires 30d? > Thanks a lot! :) No way. "expires" handles parameter specially. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 06:06:16AM -0400, Meng wrote: > Hi all, > > I'm new to this community. > I did days of research to setup Nginx + PHP CGI + MySQL for a website. The problem is that client browser can not show the the full image of big size. When I refresh the browser, I can get random results of the image showing. Sometime get partial image showing, sometimes get full imaby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 05:36:50AM -0400, ehudros2 wrote: > Hi all, > I'm trying something that I though should be quite simple but turns out it isn't... > I have a rails app and want all static assets with a timestamp query string to be sent with a custom response header called "User-Expires", instead of the regular "expires" directive. > I'm coming from apacby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 05:32:47PM +0800, Zhang,Tony wrote: > Hi > > It was said that 0.8 branch will include keepalive connection on proxied connection? Is that ture oe not? We are all looking forward to this feature :) 0.8.0 is just the first release of development branch. I plan to add keepalive connection to backend in this branch. > Thx > Jie > > -----???by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 11:30:49AM +0200, J?r?me Loyet wrote: > Hi all, > > what is the best and quickest way to empty the whole cache (set via > proxy_cache_path) ? > > I'm developing an small web site which allow my customers to empty > their site cache. > > I would do: > 1- find /path/to/cache -type f -exec rm {}\; > 2- gracefull reload nginx toby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 10:42:45AM +0200, J?r?me Loyet wrote: > 2009/6/3 Igor Sysoev <is@rambler-co.ru>: > > On Wed, Jun 03, 2009 at 10:05:21AM +0200, J?r?me Loyet wrote: > > > >> Hi all, > >> > >> with the upstream module, in default mode (WRR), what is the best way > >> to disable a server from the pool ? > >> > >by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 03, 2009 at 10:05:21AM +0200, J?r?me Loyet wrote: > Hi all, > > with the upstream module, in default mode (WRR), what is the best way > to disable a server from the pool ? > > 1- simply remove the line This is. > 2- add the "down" keyword to the server > 3- set server weight to 0 to disable it > > Thx for the answers. >by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 02, 2009 at 09:24:46PM +0200, Johan Bergstr?m wrote: > Hey, > > On Jun 2, 2009, at 18:48 , Igor Sysoev wrote: > > >On Tue, Jun 02, 2009 at 06:47:50PM +0200, J?r?me Loyet wrote: > > > >>thx you very much igor. > >> > >>What the keepalive_requests directive is and how to use it ? :) > > > >keepalive_requests 1by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|