On Wed, Aug 12, 2009 at 11:47:31AM +0900, Kuramoto Eiji wrote: > Hi, > > The proxy_cache module send cached contents until it's expired > even if a client send wrong user/password after passed first (401) > authentication. It might be a bug ... ? I agree that nginx should not cache authenticated responses. However, it should be configured, otherwise, anyone may flush cacby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 17, 2009 at 10:39:01PM -0300, Walter Cruz wrote: > Hi! I would like to use a setting like that: > > location / { > try_files $uri $uri/ @proxy; > } > > location @proxy > proxy_pass http://127.0.0.1:8089; > } > > With nginx serving static content and apache serving dinamic content. With > that setting. I gotby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.9 17 Aug 2009 *) Feature: now the start cache loader runs in a separate process; this should improve large caches handling. *) Feature: now temporarily files and permanent storage area may reside at different file systems. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Thu, Aug 13, 2009 at 10:13:10AM -0400, meto wrote: > Yes I understand that and thanks for help anyhow :) > > Why does "try_files $uri $uri/index.php @backend;" won't work? try_files finds "//index.php", handles the request in the same location, and therefore sends /index.php as is. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Thu, Aug 13, 2009 at 04:05:46PM +0300, Marcus Clyne wrote: > Igor Sysoev wrote: > >On Thu, Aug 13, 2009 at 12:43:14PM +0300, Marcus Clyne wrote: > > > > > >>miles wrote: > >> > >>>location ^~ /weblog/ { > >>>rewrite ^/weblog/(.*) /blog/$1 permanent; > >>>} > >>> > >>>location ~by Igor Sysoev - Nginx Mailing List - English
On Thu, Aug 13, 2009 at 06:15:08AM -0400, meto wrote: > Igor, unfortunately, your config doesn't work as expected. I'm using this config right now and it works for me: > > location / { > index index.html index.htm index.php; > > try_files $uri $uri/ @proxy_backend; > } > > location ~ ^(.+\.php)by Igor Sysoev - Nginx Mailing List - English
On Thu, Aug 13, 2009 at 12:43:14PM +0300, Marcus Clyne wrote: > miles wrote: > >location ^~ /weblog/ { > >rewrite ^/weblog/(.*) /blog/$1 permanent; > >} > > > >location ~ ^/weblog/(.*) { > >rewrite ^ /blog/$1 permanent; > >} > > > >You should use the first method. > > > >Thanks so much, Igor - will do! > > &by Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 03:27:47PM -0400, meto wrote: > I'm trying to set a reverse proxy for some time now and i'm out of ideas... > > > index index.html index.htm index.php; > > location / { > try_files $uri @proxy_backend; > > } > > location ~ ^(.+\.php)(.*)$ { - location ~ ^(.+\.php)(.*)$ { + location ~ ^(.+\.php|/)$ { Ifby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 05:17:30PM -0400, miles wrote: > this rewrite looks ok, could you show whole server{} config? > > Thanks for asking - I have pasted it below. > > Before that: I just realized that > > location /weblog/ { rewrite ^/(.*)$ /blog/$1 permanent; } > > was actually not even giving me the root of /blog/ (I had left in the old > statemeby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 05:33:25PM -0400, miles wrote: > location ^~ /weblog/ { > rewrite ^/weblog/(.*) /blog/$1 permanent; > } > > I believe there's also a way to use regex captures in the location. > I've not used this method yet, but I believe it's something like this: > > location ~ ^/weblog/(.*) { > rewrite ^ /blog/$1 permanent; > } > > Botby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 05:01:17PM +0200, InterNetX - J??rgen Gotteswinter wrote: > ok here we go, rebuilded > 2009/08/12 16:49:19 21301#0: *685 event timer del: 208: > 1250088619898 > 2009/08/12 16:49:19 21301#0: *685 generic phase: 0 > 2009/08/12 16:49:19 21301#0: *685 add cleanup: 000000001B1D18F8 > 2009/08/12 16:49:19 21301#0: *685 generic phase: 1 > 2009/0by Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 03:07:41PM +0200, InterNetX - J??rgen Gotteswinter wrote: > 2009/08/12 15:04:48 16134#0: *76 "^/(.*)" matches "/", client: > 62.116.135.150, server: *.xxx.com, request: "GET / HTTP/1.0", host: > "login.xxx.com" > 2009/08/12 15:04:48 16134#0: *76 rewritten redirect: > "https://login.xxx.com/", clienby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 12:18:23PM +0200, Samuel Vogel wrote: > Am 10.08.09 16:50, schrieb Samuel Vogel: > >Hey guys, > > > >We proxy http://svn.domain.com:80 to http://localhost:81, where an > >apache server with mod_dav_svn is listening, which is binding only to > >127.0.0.1:81. > >We do get a "502 Bad Gateway" for COPY requests. This tby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 12:10:28PM +0200, Juergen Gotteswinter wrote: > but it loops :( > > heres the full part incl. ssl part > > > server { > listen xxx:80; > server_name *.xxx.com; > > rewrite ^/(.*) https://login.xxx.com$request_uri permanent; > } > > > > server { > listen xxxby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 11:21:13AM +0200, Juergen Gotteswinter wrote: > Hi Igor, > > i got something like > > server { > listen xxx:80; > server_name www.xxx.com xxx.com login.xxx.com; > > rewrite ^ https://login.xxx.com$request_uri permanent; > } > > if i add *.xxx.com, or remove the other entries in server_nameby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 12, 2009 at 09:20:37AM +0200, Juergen Gotteswinter wrote: > Hello Folks, > > is there a way to do a wildcard redirect like > > *.blafoo.com -> alwaysthis.com > > ? server { server_name *.blafoo.com; rewrite ^ http://alwaysthis.com/; } -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 10, 2009 at 05:00:05PM +0800, Xuepeng Li wrote: > if it's is 1:1 module and nginx establishes HTTP 1.0 only to apache > server, every time enginx receive a request, it has to proxy the request to > apache server, what is the advantange make enginx as reverse proxy other > than make direct connection between browser and apache? The main nginx advantage is that itby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.8 10 Aug 2009 *) Bugfix: in handling FastCGI headers split in records. *) Bugfix: a segmentation fault occurred in worker process, if a request was handled in two proxied or FastCGIed locations and a caching was enabled in the first location; the bug had appeared in 0.8.7. -- Igor Sysoevby Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 09, 2009 at 08:19:31AM +0200, Victor Iggy wrote: > How does nginx handle backup servers? For example.. > > upstream squids { > server 127.0.0.1:81; # squid 1 > server 127.0.0.1:82; # squid 2 > server 127.0.0.1:8001 backup; # nginx > server 127.0.0.1:8089 backup; # perlbal > } > > > if both squids fail, How will nginx balaby Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 07, 2009 at 03:24:42PM -0400, michaelvv wrote: > Hi Igor. > > I found the solution.... > > First the benchmark compiled against openssl-0.9.8k > >by Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 08, 2009 at 05:28:36AM +0200, Victor Iggy wrote: > I actually figured out my answer... the configuration is a bit weird but > it works... > > is the answer... for anyone who cares. > > location / { > proxy_set_header X-Real-IP $remote_addr; > proxy_set_header X-Forwarded-For > $proxy_add_x_forwarded_for; >by Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 08, 2009 at 10:19:48AM +1000, Jeff Waugh wrote: > <quote who="Igor Sysoev"> > > > This snippet is probably handy, however, it will run useless regex for > > every request for www.example.com. Using separate example.com server is > > better for perfomance reason. > > Isn't the regex skipped, given that the if statement doesn't matby Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 07, 2009 at 03:03:44PM +0200, Robert Gabriel wrote: > Can someone show me how to rewrite this from Apache to nginx?! > > Thanks you > > .htaccess: > > Options +FollowSymlinks > RewriteEngine On > > RewriteBase / > > RewriteCond %{REQUEST_FILENAME} -f > RewriteCond %{REQUEST_FILENAME} -d > RewriteCoby Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 07, 2009 at 08:37:26AM -0400, michaelvv wrote: > Hi Igor... > > is it okay if i do this on VPS 'virtual private servers' OPENVZ i don't have so many servers > to play with... > Or should it be on separate servers ??? SSL handshake is very CPU consuming operation, therefore running ab on the same physycal host may interfere on the benchmark. keepalive, sslby Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 07, 2009 at 07:28:56AM -0400, michaelvv wrote: > Hi nginx... > > For sometime ago i have compared nginx/apache performance on HTTPS request. > at that time i got ca 10 fold performance gain with nginx. > > So when i installed the newest stable version it was only 20-25 % more. > > Does anyone have seen this issue , the fastest version is 0.6.38 hereby Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 07, 2009 at 04:52:52PM +0800, lhmwzy wrote: > 2009/8/7 Igor Sysoev <is@rambler-co.ru>: > > On Fri, Aug 07, 2009 at 03:10:10PM +0800, lhmwzy wrote: > > > > >by Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 07, 2009 at 02:27:00AM -0400, martinc6 wrote: > martinc6 Wrote: > ------------------------------------------------------- > > Martin Schut Wrote: > > -------------------------------------------------- > > ----- > > > On Thu, 06 Aug 2009 21:54:56 +0200, martinc6 > > > wrote: > > > > > > > martinc6 Wrote: > &by Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 07, 2009 at 03:10:10PM +0800, lhmwzy wrote: > if ($http_host ~* "^((?!www).*)\.afen\.com$") { > set $name $1; > rewrite ^ http://www.afen.com/$name$uri; > } > > this can works. server { server_name www.afen.com; ... } server { server_name ~^(.*)\.afen\.com$;by Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 01, 2009 at 04:26:03AM +1000, Jeff Waugh wrote: > Hi all, > > Here's a handy config snippet to permanently redirect to a canonical server > name, generically (ie. without needing to repeat yourself in every config). > > > /etc/nginx/canonical_hostname: > if ( $host != $server_name ) { > rewrite ^(.*)$ $scheme://$server_name$1 permby Igor Sysoev - Nginx Mailing List - English
On Thu, Aug 06, 2009 at 12:44:44PM +0100, Magnus Leuthner wrote: > I have a little issue: I try to send out a quite big header from my > fastcgi application (using libfastcgi, FCGX). The headers contain > about 30 Set-Cookie records. Nginx only gives an 502 Bad Gateway error > when I try to send that through nginx. > > Please let me know how to increase the maximum headeby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|