On Thu, Jul 30, 2009 at 06:10:30PM +0200, Dale Gallagher wrote: > Thanks for the responses. > However, a new issue has surfaced, hence the subject change ... > > 2009/7/29 Igor Sysoev <is@rambler-co.ru>: > > Since 0.7.44 you may use > > > >by Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 09:47:37AM -0400, Jim Ohlstein wrote: > Hello, > > We just went through a period where someone was seriously leeching > bandwidth. See the attached graph. It started just after midnight and I > noticed it this morning and took care of it. > > We run a proxy on that server and someone was referring requests for > YouTube videos on theirby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 08:36:06AM -0400, komone wrote: > > Just some arbitrary stats from some frontend > > server: > > > > $ fgrep 'HTTP/1.0' access_log | wc -l > > 62734 > > $ fgrep 'HTTP/1.1' access_log | wc -l > > 1979061 > > > > So it's about 3% of HTTP/1.0 requests anyway. > > This includes > > various prby Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 11:21:36PM -0400, flute wrote: > I'm using Nginx 0.7.61 with php-fpm(php 5.2.6) on Freebsd7.1-amd64??? > When i starte nginx,the total memory usage beging Increase. Unitl used all memory. > use top with sort size,i'm look at the each nginx work process used more than 400M memory. > The solution is used 'kill -HUP' > http://ylem.guanxi.koubei.com/ylem/by Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 07:55:09PM +0200, Dale Gallagher wrote: > Dale Gallagher wrote: > > access_log $webroot/$domain/log/access.log; > > error_log $webroot/$domain/log/error.log error; > > I've just seen the other post about error_log not supporting > variables, so changed the config to that below. > > error_log /var/www/default/log/error.log error;by Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 06:25:28PM +0200, Samuel Vogel wrote: > Am 29.07.09 18:17, schrieb Piotr Sikora: > >> try_files $uri @404; > > > >Try using "error_page" instead of "try_files". > > > >AFAIK "try_files" is supposed to work static files, not FastCGI / proxy. > But the file does exist, shouldn't try_files bby Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 04:53:43PM +0200, Samuel Vogel wrote: > Am 29.07.09 16:12, schrieb Edho P Arief: > >On Wed, Jul 29, 2009 at 9:03 PM, Samuel Vogel<samydelux@gmail.com> wrote: > > > >>Hey, > >> > >>I know this question has come up a couple of times, but the solutions > >>posted > >>here do not seem to work for mby Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 01:26:51PM +0200, Daniele Melosi wrote: > Hi all, > > I notice that nginx when pass header to fastcgi add "HTTP_" at the > beginning even if HTTP_ is already present like in the example below: > > $ curl "http://127.0.0.1/daniele.php" --header "Host: localhost" > --header "HTTP_TM_USER_ID: 36" --conneby Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 04:49:10AM -0400, shaktale wrote: > Hi all. > > I have the folllowing config: > > > # static files without rewrite > location ~ ^.+\.(js|jpe?g|gif|png|css)$ { > # 404 > try_files $uri /index.php; > expires 1d; > } > > location / { > rewrite ^/(.+)_(.+)/(.+)/$ /index.php/actiby Igor Sysoev - Nginx Mailing List - English
On Tue, Jul 28, 2009 at 04:47:26PM -0400, APseudoUtopia wrote: > 2009/7/26 Igor Sysoev <is@rambler-co.ru>: > > On Sun, Jul 26, 2009 at 02:07:28PM -0400, APseudoUtopia wrote: > > > >> Hey list, > >> > >> How does one create an alias in nginx? Here's my setup: > >> > >> My web-root is /usr/local/www/main. It's a copy of a SVby Igor Sysoev - Nginx Mailing List - English
On Tue, Jul 28, 2009 at 11:49:53PM -0400, peacock wrote: > Hope to solve this problem as soon as possible :) Try the attached patch. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 12:54:27PM +0800, wuzhez wrote: > Hi all, > Like the NginxHttpUserIdModule, but it is difficult to used for. > Can I do like this:when a browser visit the website, nginx send something to apache, and apache send the cookie to browser by nginx ? In this case you probably do not need nginx. > wuzhez??wuzhez@gmail.com > 2009-07-29 > ---by Igor Sysoev - Nginx Mailing List - English
On Tue, Jul 28, 2009 at 09:04:49AM -0400, vburshteyn wrote: > 2009/07/28 12:45:33 17429#0: mmap(MAP_ANON|MAP_SHARED, 3145728000) failed (12: Cannot allocate memory) It seems you have no additional 3G on the host. You need to decrease shared memory size, actually you do not need 3G. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Tue, Jul 28, 2009 at 08:18:05AM -0400, vburshteyn wrote: > hey folks, > > our of curiosity why is it when i change this line to have a new folder half the time it properly creates the new directory with all the subfolders the other time it does not. It seems like hit or miss. proxy_cache_path /etc/nginx/cacheBK levels=1:2 keys_zone=one:3000m max_size=5000m; Is anything in erby Igor Sysoev - Nginx Mailing List - English
On Tue, Jul 28, 2009 at 11:25:41AM +0100, Joe Jacobs wrote: > Thank you for the replies Maxim and Igor. > > I have version 0.7.61 installed. My query was actually regarding the > following change in version 0.7.25 > > *) Change: now POSTs without "Content-Length" header line are allowed. > > > > > Shouldn't this mean that the request in my prby Igor Sysoev - Nginx Mailing List - English
On Sat, Jul 25, 2009 at 05:05:59PM +0100, Joe Jacobs wrote: > FYI, this is the request that is received by the server. > > 2009/07/25 15:41:04 29780#0: *10 http request line: "POST > /test.php HTTP/1.1" > 2009/07/25 15:41:04 29780#0: *10 http uri: "/test.php" > 2009/07/25 15:41:04 29780#0: *10 http args: "" > 2009/07/25 15:41:04 2978by Igor Sysoev - Nginx Mailing List - English
On Tue, Jul 28, 2009 at 10:17:47AM +1000, Jeff Waugh wrote: > <quote who="Igor Sysoev"> > > > nginx does not support content negotiation since I never saw working > > content negotiation setups, at least in Russia. Could you show good > > examples ? > > One very simple but useful form of content negotiation is the ability to > supply filby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.7 27 Jul 2009 *) Change: minimum supported OpenSSL version is 0.9.7. *) Change: the "ask" parameter of the "ssl_verify_client" directive was changed to the "optional" parameter and now it checks a client certificate if it was offered. Thanks to Brice Figureau.by Igor Sysoev - Nginx Mailing List - English
On Sat, Jul 25, 2009 at 02:44:11PM -0700, Michael Shadle wrote: > Just for discussion sake why is that? I actually have the same > instance of nginx with two separate http{} blocks. One for mogstored Do you mean http { ... } http { ... } in one configuration ? This setup is not supported (and never supposed to be supported) and may lead to unexpected results.by Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 23, 2009 at 10:48:41AM -0400, MortenP wrote: > Is it possible to have nginx proxy to upstream_a and if that fails then default to upstream_b? > > What I would like to accomplish is to have a Varnish upstream, and if that's down, then nginx should just proxy to the application backend directly. upstream ups { server upstream_a; server upstream_b bby Igor Sysoev - Nginx Mailing List - English
On Sun, Jul 26, 2009 at 09:08:25PM +0100, Nuno Magalh??es wrote: > According to [1] i assume nginx doesn0t support content negotiation > yet. (With a simple test it - 0.7.59 - replied with a 404.) Is this > true? If so, is it planned for the near future? If not, are there any > workarounds? > > Thanks, > Nuno Magalh??es > > [1] http://wiki.nginx.org/NginxFeatby Igor Sysoev - Nginx Mailing List - English
On Sun, Jul 26, 2009 at 02:07:28PM -0400, APseudoUtopia wrote: > Hey list, > > How does one create an alias in nginx? Here's my setup: > > My web-root is /usr/local/www/main. It's a copy of a SVN repo, so I > cannot manually add any folders in there. > I want to make an alias from domain.com/wiki to /usr/local/www/wiki. > I've tried the following code: > &by Igor Sysoev - Nginx Mailing List - English
On Sat, Jul 25, 2009 at 03:23:56AM -0400, anomalizer wrote: > How about setting the appropriate caching headers in the upstream for that one page? > Eg: > Cache-Control: no-store > Expires: Thu, 01 Dec 1984 16:00:00 GMT Yes, yuo may control caching using these headers. However, currently, nginx supports only "no-cache" and "max-age=###" values in "Cby Igor Sysoev - Nginx Mailing List - English
On Sat, Jul 25, 2009 at 02:35:28PM +0800, Shri @ DevLib.Org wrote: > I have had this working for ever and some how after the upgrade to 0.8.x it > seems to have stopped working. > > The following config results in the http://www.hostname.com/classifieds/ > not working. > > http://www.hostname.com/classifieds/index.php pulls up the correct file. Probably, you neby Igor Sysoev - Nginx Mailing List - English
On Fri, Jul 24, 2009 at 12:15:37PM -0700, Cliff Wells wrote: > On Wed, 2009-05-27 at 12:46 +0400, Igor Sysoev wrote: > > On Wed, May 27, 2009 at 03:17:49AM -0400, peacock wrote: > > > > > When I post when a JavaScript file, "405 not allowed" error will appear. > > > > > > if use proxy, it can work. > > > > > >by Igor Sysoev - Nginx Mailing List - English
On Fri, Jul 24, 2009 at 05:06:57AM -0400, climbor wrote: > Hello everyone, > > I just noticed that "If" can only be used in very limited situations. It is far from the first impression it gave to me. So I did some code reading and found the reason. After adding NGX_HTTP_LIF_CONF flag to ngx_command_t "if", it worked. Then I can write some more complex rule set.by Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 23, 2009 at 11:24:19AM -0700, Michael Shadle wrote: > i get these in PHP just fine, it seems to work okay. > > $_SERVER['HTTP_CONTENT_RANGE'] > $_SERVER['HTTP_CONTENT_DISPOSITION'] Does PHP get these values from client request ? As far as I know, browsers do not send these headers. > On Thu, Jul 23, 2009 at 9:50 AM, > Magdalena<theglobeisnowdigital@gby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 23, 2009 at 11:57:06AM +0100, nginx.mailinglist wrote: > Hi Igor > its ok i got it working now! > > all i have to do was add this to my config > > > *fastcgi_pass_header ** **Authorization;* > > > i wasn't testing the HTTP request properly so wasn't seeing the results > expected fastcgi_pass_header passes headers from backend to cliby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 23, 2009 at 11:22:19AM +0100, nginx.mailinglist wrote: > Thank you > I see that works fine for that particular user:pass combo > > but (sorry to be a pain) > > that means i have to encode the user:pass combination into the config file > > what happens if there are thousands of user:pass combinations? > > how can this info be dynamically pasby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 23, 2009 at 10:50:12AM +0100, nginx.mailinglist wrote: > Hello > just a quick question > > in lighttpd i was able to pass the username and pass from the url to php > backend > > but nothing happens in nginx? > > let me explain > > > lets say you have a URL like this > > http://userX:passY@example.com/bleh.php > >by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|