On Wed, Jun 17, 2009 at 01:24:02AM -0700, Michael Shadle wrote: > is the cache enabled by default if the configure does not disable it > out or in nginx.conf something is marked as "off" ? > > i would assume it's not active unless you set the parameters for the > cache you want. Yes, to enable cache in nginx.conf, you need to describe at least one proxy/fastcgiby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 17, 2009 at 01:38:17PM +0800, XUFENG wrote: > Hi, > What does --without-http-cache option mean when compiling Nginx? > Is it related with proxy_store directive or some other things? > I could not find any explicit docs about this. > Thank you in advance. This option is related to proxy_cache... and fastcgi_cache_... directives. Since the cache requires md5 fuby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 11:01:00AM -0700, dwatrous wrote: > Thanks for the reply. This still isn't working. Here is my entire > config file. As an initial test I've included only the C drive. > > worker_processes 1; > > events { > worker_connections 1024; > } > > http { > include mime.types; > default_type application/octby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 09:13:54AM -0700, dwatrous wrote: > Hello, > > I'm interested in moving from Apache to nginx. What I'm doing with > Apache right now is serve files from multiple drives on windows. For > each drive I have a Directory entry in the httpd.conf and also an Alias > entry. > <Directory "e:/"> > Options Indexes FollowSymLinkby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 10:59:19AM -0400, meal wrote: > Spasiba Igor, but it still no works, even if I moved rewrites to location like you proposed. Do you have any other ideas? > I think it's issue specified with my .html parsing.. Unfortunately, as I wrote, we cannot change this to other extension. Could you create debug log of a failed request: ./configure --with-debug ...by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 04:39:16PM +0200, Alejandro Mart??nez wrote: > Igor Sysoev wrote: > > On Tue, Jun 16, 2009 at 04:06:57PM +0200, Alejandro Mart??nez wrote: > > > >> > > >> > Try to change <inttypes.h> to <stdint.h> in the patch. > >> > >> still no luck. > >> > >> it doesn't seem to care forby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 04:25:54PM +0200, J?r?me Loyet wrote: > hi igor, > > I have those kind of error logs : > > 2009/06/16 16:08:51 19293#0: *179 client sent invalid request > while reading client request line, client: 1.1.1.1, server: > www.sample.org,, request: "GET / > recherche.php?recMot=resultat concours > 2009&type=Simple&recPer=per&aby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 10:32:03AM -0400, NoSync wrote: > There you go: > > 2009/06/16 14:27:46 6580#0: *21 malloc() 18446744073709551612 bytes failed (12: ), client: 89.96.xxx.xxx, server: ~^(.*)\.(.*\..*)$, request: "GET / HTTP/1.1", host: "www.digitalnatives.eu" > > And here's a strace: > > accept(7, {sa_family=AF_INET, sin_port=htons(41325)by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 04:06:57PM +0200, Alejandro Mart??nez wrote: > Igor Sysoev wrote: > > On Tue, Jun 16, 2009 at 03:15:36PM +0200, Alejandro Mart??nez wrote: > > > >> >> /usr/include/stdint.h:typedef unsigned long long int uint64_t; > >> > > >> > Try the attached patch. > >> > >> Thank you again for your tby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 09:39:55AM -0400, meal wrote: > Hi, > We have our own framework written in PHP, but it's using .html extension (and change of this is not possible). > So when I put appropriate block in config, part of site is working, but few rewrites is not. > > here is my .html parsing block > > location ~ \.html$ { > if (!-f $request-filename)by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 09:43:24AM -0400, NoSync wrote: > As suggested, I tried using servername in place of the if block: > > server_name ~^(.*)\.(.*\..*)$; > set $sub $1; > set $domain $2; > > but I get errors like this: > > 2009/06/16 13:33:20 6443#0: *4 malloc() 18446744073709551612 bytes failed (12: ), client: 89.96.xxx.xxx, server: ~^(.*)\.(.*\..*)$,by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 03:15:36PM +0200, Alejandro Mart??nez wrote: > Igor Sysoev wrote: > > On Mon, Jun 15, 2009 at 09:12:59PM +0200, Alejandro Mart??nez wrote: > > > >> >> checking for sys/prctl.h ... not found > >> > >> fgrep -r int64_t /usr/include > > > >> /usr/include/stdint.h:typedef long int int64_t; >by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 11:26:46AM +0100, Avleen Vig wrote: > 2009/6/16 Igor Sysoev <is@rambler-co.ru>: > > What do you mean by upstream ports ? This > > > >by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 11:50:16AM +0530, Asif Ali wrote: > Dear All, > I am trying to resolve a particular issue that is not getting solved easily. > > Nginx is able to route requests but the speed of routing is slowing > down..when I am increasing the number of upstream ports. > > I have an app which responds in under 500ms. When I route those requests > throuby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 02:39:24PM +0700, Denis F. Latypoff wrote: > Hello Igor, > > Tuesday, June 16, 2009, 3:08:10 AM, you wrote: > > > Index: src/os/unix/ngx_linux_config.h > > =================================================================== > > --- src/os/unix/ngx_linux_config.h (revision 2269) > > +++ src/os/unix/ngx_linux_config.hby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 09:12:59PM +0200, Alejandro Mart??nez wrote: > Igor Sysoev wrote: > > On Mon, Jun 15, 2009 at 04:35:43PM +0200, Alejandro Mart??nez wrote: > > > >> + gcc version: 3.4.6 20060404 (Red Hat 3.4.6-10) > >> checking for crypt.h ... found > >> checking for nobody group ... found > >> checking for dlopen() ... not foundby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 12:22:39PM -0400, NoSync wrote: > I could be wrong, but with your snippet I'd get domain.com redirected to www.domain.com, but also sub.domain.com redirected to www.sub.domain.com. Very possible I'm missing something here, though. :-) server { listen 80; server_name ~^[^.]+\.[^.]+$; # domain.com rewrite ^ http://www.$hosby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 04:35:43PM +0200, Alejandro Mart??nez wrote: > I don't know what is wrong, and couldn't find anything about it by > googling. > > Any ideas? > > # ./configure > checking for OS > + Linux 2.6.9-34.ELsmp i686 > checking for C compiler ... found > + using GNU C compiler > + gcc version: 3.4.6 20060404 (Red Hat 3.4.6-10) >by Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 11:23:38AM -0400, NoSync wrote: > Thanks Igor. I was thinking about this as well, but while I'd like to add the www part only if there's no subdomain at all, I take it this would prepend the "www" part to any host? I do not understand. Could you show examples of redirects ? -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 04:07:29PM +0200, Tobias Wissmueller wrote: > Hi Group, > > I am using several rewrite conditions and rules in nginx, but I am not > able how to translate the following Apache condition to nginx: > > RewriteCond %{HTTP:X-ISSSL} !^TRUE$ > > Any help highly appreciated. if ($http_x_isssl != TRUE) { } -- Igor Sysoev http://sby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 09:30:47AM -0400, NoSync wrote: > Hello everyone! I recently switched my main webserver (where I host clients' websites) from apache to nginx and I wrote a custom generic configuration file to handle everything in one place, so domains and subdomains are handled on the fly by creating directories and subdirectories. Here's the relevant snippet: > > server {by Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 12:27:17PM +0200, andan andan wrote: > 2009/6/15 Igor Sysoev : > > Changes with nginx 0.7.60 15 Jun 2009 > > > > Hi Igor, > > I got the following error compiling nginx 0.7.60: > > $> ./configure --with-http_stub_status_module --with-http_ssl_module > --without-select_module --withouby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 12:04:44PM +0200, michal krajcirovic wrote: > Hello, > trying to resolve some relatively simple problem. We have a webserver, > it works NGINX. All the requirements that come with either sent from > this site, or (as have the flv and mp4) to send to another server and > send it from this second server > To use this simple rule in nginx.conf: &gby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.7.60 15 Jun 2009 *) Feature: the "updating" parameter in "proxy_cache_use_stale" and "fastcgi_cache_use_stale" directives. *) Feature: the "keepalive_requests" directive. *) Bugfix: in open_file_cache and proxy/fastcgi cache interaction on start up. *) Bby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 15, 2009 at 05:05:31PM +0800, Delta Yeh wrote: > Please refer to secure_link module No, ngx_http_secure_link has no timestamp information, it's just for URL validating. > 2009/6/15 XUFENG <xufengnju@sina.com> > > > Hi all, > > > > Can nginx achieve this goal? > > > > On my php page,I give the url to my mp3 fileby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.2 15 Jun 2009 *) Bugfix: in open_file_cache and proxy/fastcgi cache interaction on start up. *) Bugfix: open_file_cache might cache open file descriptors too long. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Sat, Jun 13, 2009 at 10:05:29PM -0700, mobiledreamers@gmail.com wrote: > same here > what number should we pick for this > thanks Any: 10000, 100000, 1000000. > 2008/6/24 Igor Sysoev <is@rambler-co.ru> > > > On Tue, Jun 24, 2008 at 03:00:09PM +0100, Alan Williamson wrote: > > > > > we are getting a ton of these in our error.log > >by Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 12, 2009 at 06:19:28PM -0500, Joe Shang wrote: > With Apache we can do this using: > > RewriteCond %{HTTP_USER_AGENT} !^CDN_USER_AGENT$ > RewriteRule .*\.(jpg|gif|png|flv|css|js|swf)$ > http://cdn-domain-name/$0 > > But we want our CDN to serve our static content, what would be easier > to accomplish this? > > I tried: > > rewby Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 12, 2009 at 11:01:57PM +0200, Szymon Polom wrote: > Igor Sysoev wrote: > > >On Fri, Jun 12, 2009 at 06:05:34PM +0200, Szymon Polom wrote: > >As it was already said by Cliff: > > [...] > > As someone on #nginx pointed out I was actually looking for location + > alias not for location + root. You should not use "alias" there, wby Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 12, 2009 at 04:15:24PM -0400, JamesHarrison wrote: > Hi, > > I'm having issues serving up a custom 502 using upstream; essentially nginx's 502 is always shown, despite having a custom 502 page set up with error_page. > > The configuration is here: http://pastie.org/private/8kjglkprvw8pfoeqkjcbug > > I've tried this with proxy_intercept_errors on, off, iby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|