On Thu, Aug 06, 2009 at 02:44:13PM +0700, Edho P Arief wrote: > On Thu, Aug 6, 2009 at 8:05 AM, Big Bet<lists@ruby-forum.com> wrote: > > RewriteCond %{REQUEST_FILENAME} !-f > > RewriteCond %{REQUEST_FILENAME} !-d > > RewriteRule . plus.php > > > > how to change it for nginx ? > > help me > > probably something like this > > tby Igor Sysoev - Nginx Mailing List - English
On Thu, Aug 06, 2009 at 02:24:53AM -0400, martinc6 wrote: > I need to store part of a subdomain in a variable in order to use it as my root and I can't seem to get it to work. > > The URLs would be formed like: martin_branch.dev.testsite.com > > And I need root to be /home/martin/martin_branch.dev.testsite.com > > The underscore ("_") and stuff afterwardsby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 05, 2009 at 12:16:10PM +0100, Anselm R Garbe wrote: > Hi there, > > I switched to nginx 0.7.61 recently and came across some odd vhost issues: > > > 1. Let's imagine the following cgi script: > > -- > #!/bin/sh > echo Content-Type: text/plain > echo > env | grep SERVER_NAME > -- > > that is served using fcgiwrap as follby Igor Sysoev - Nginx Mailing List - English
On Wed, Aug 05, 2009 at 02:34:50AM -0400, Ilan Berkner wrote: > What would be the nginx comparable? > > > 1. RewriteEngine On > 2. RewriteBase / > 3. RewriteRule js/site_([0-9]+).js js/combine.php?version=$1 > > ? A usual way: location /js/ { rewrite ^/js/site_([0-9]+).js /js/combine.php?version=$1 last; ... } location ~ \.php$ {by Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 04, 2009 at 05:49:59PM +0200, Yanni Mac wrote: > I am running nginx in front of my mongrel cluster and I am seeing lots > of these in my error log > > 2009/08/04 11:45:34 14708#0: *1714633 client XX.XX.XXX.XXX closed > keepalive connection (104: Connection reset by peer) > > and also logs without (104:Connection reset by peer) > > Site seems toby Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 04, 2009 at 10:28:22AM -0400, fritz wrote: > Hi. > > If URI is "/" I need to show index.html. > Else I need to execute a php script. > > According to http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#location > my config looks like this: > > server { > listen 80; > server_name localhost; &by Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 04, 2009 at 09:33:46AM -0400, matrix wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > On Tue, Aug 04, 2009 at 08:05:07AM -0400, matrix > > wrote: > > > > > Thank you for the patch Igor. > > > > > > I have applied the patch against nginx-0.8.7. > > > > > > The gooby Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 04, 2009 at 08:05:07AM -0400, matrix wrote: > Thank you for the patch Igor. > > I have applied the patch against nginx-0.8.7. > > The good news is that instead of getting "502 Bad Gateway" errors, I now get a valid HTML response from the server, every time. This is great. > > The not so good news is that on some requests the debug informationby Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 04, 2009 at 01:30:30PM +0400, Igor Sysoev wrote: > On Mon, Aug 03, 2009 at 03:31:37PM -0400, matrix wrote: > > > For the past 10 hours I have been trying to find out why my application sometimes generates a "502 Bad Gateway" error and sometimes do not, even though the page output should be nearly identical. The error is described by nginx as "upstream pby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 03, 2009 at 03:31:37PM -0400, matrix wrote: > For the past 10 hours I have been trying to find out why my application sometimes generates a "502 Bad Gateway" error and sometimes do not, even though the page output should be nearly identical. The error is described by nginx as "upstream prematurely closed connection while reading response header from upstream"by Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 04, 2009 at 03:19:03AM -0400, shaktale wrote: > > location /statics/ { > > try_files $uri @statics; > > } > > > > location @statics { > > fastcgi_pass 127.0.0.1:9000; > > > > fastcgi_cache FCGI; > > fastcgi_cache_key 127.0.0.1:9000$request_uri; > > > > include /usr/local/nginx/conf/fastcgi_params; > &by Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 04, 2009 at 02:34:20AM -0400, shaktale wrote: > > The url http://mydomain.com/statics/.* is handled by index.php, but really is a simple static page. > > > > Is there any manner to caching only these URLs ? > > > > location ~ ^/statics/.+\.php.*$ { > > fastcgi_split_path_info ^(.+\.php)(.*)$; > > fastcgi_pass 127.0.0.1:9000; > >by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 03, 2009 at 02:23:21PM -0400, shaktale wrote: > Hi all. > > I will try to start playing with cache, but is hard to find a complete documentation (yes, I know, is a new feature). > > If I have a classic fastcgi with try_files like this : > > > location / { > try_files $uri /index.php?$args; > } > > # PHP > locationby Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 02, 2009 at 10:51:08AM +0200, nginxlist@serverphorums.com wrote: > I'm trying to use SSL on Nginx and have run into the same problem. I think this is the only thread on Google about this issue!!! > > Alan, did you ever figure this one out? Idk what to do. > > > After uncommenting the *ssl* lines in my > /etc/nginx/sites-available/mainserver file, I aby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 03, 2009 at 02:28:56PM +0200, Miros??aw Jaworski wrote: > On Mon, 2009-08-03 at 15:17 +0400, Igor Sysoev wrote: > > No, currently nginx ignores the reload because everyone may flush > > popular and heavy generated pages from your cache. > > I plan to allow reload only from limited set of addresses. > > Cache-control: no-cache request isn't supposed tby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 03, 2009 at 12:41:31PM +0200, Miros??aw Jaworski wrote: > Hello > > RFC2616 14.9.4 Cache Revalidation and Reload Controls > "End-to-end reload" > [...]The server MUST NOT use a cached copy when responding to such a > request[...] > > Such a request can be triggered from the browser by holding SHIFT > and using reload button; it's ofteby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 03, 2009 at 09:58:39AM +0800, Shri @ DevLib.Org wrote: > We've been getting an extraordinary amount of spam from a few IP ranges (hosting proxies) and countries (Nigeria for example) on our classifieds section. > > Mod Geo_IP > ============= > http { > geoip_country /usr/local/share/max/GeoIP.dat; > ...... > ============= > and the result wouby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 03, 2009 at 02:45:05PM +1000, Edward Stow wrote: > Hi > > I have a small site that has a buy page with ssl : > https://shop.abc.tld/buy.html > > I want all requests to other pages to be re-directed to http such as > > https://shop.abc.tld/index.html --> http://abc.tld/index.html > > https://shop.abc.tld/buy.html passes through unchangedby Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 01, 2009 at 10:54:28AM -0400, APseudoUtopia wrote: > 2009/7/31 Igor Sysoev <is@rambler-co.ru>: > > On Thu, Jul 30, 2009 at 05:09:08PM -0400, APseudoUtopia wrote: > > > >> 2009/7/29 Igor Sysoev <is@rambler-co.ru>: > >> > On Tue, Jul 28, 2009 at 04:47:26PM -0400, APseudoUtopia wrote: > >> > > >> >> 2009/7by Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 01, 2009 at 09:20:21AM +0000, Richard Cooper wrote: > I can't seem to find enough information about the proxy or rewrite modules for > nginx to try and work this out myself, but what I'm trying to do is have the > pages served at one domain available at another domain on a slightly different > path. > > If it helps I'm running Django under FASTCGI behind ngiby Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 01, 2009 at 07:09:32PM +0530, Hendrik Hardeman wrote: > > >From http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html > > " > The semantics of the GET method change to a "conditional GET" if the request message includes an If-Modified-Since, If-Unmodified-Since, If-Match, If-None-Match, or If-Range header field. A conditional GET method requesby Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 01, 2009 at 09:11:15AM -0400, Meng wrote: > Hello, > > I have just test my website with bing's tools: http://www.microsoft.com/search/Tools/default.aspx > The test result is > > > > HTTP compression and conditional GET results > > URL: http://www.shijile.com > > HTTP status code: 200 OK > > HTTP conditional GEby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 05:47:45PM -0300, Benjamin Jackson wrote: > Has anyone seen anything like this before? We have no idea what's > going on. The buffers are set to 4/16k but still the client can't open > the site. You should set error_log to info level to see causes of 400 errors. The most of them may be SSL handshake errors. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 05:09:08PM -0400, APseudoUtopia wrote: > 2009/7/29 Igor Sysoev <is@rambler-co.ru>: > > 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 liby Igor Sysoev - Nginx Mailing List - English
On Fri, Jul 31, 2009 at 09:55:28AM +0200, Mahiti Support wrote: > Hi, > Mahiti Support wrote: > > > > Hi Igor, > > > > Then what is it for > > RewriteRule ^/(.*) > > http://127.0.0.1:8050/VirtualHostBase/http/%{HTTP_HOST}:80/live/automiddleeast/VirtualHostRoot/$1 > > > > > > Thanks > > Vishnu > > What isby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 10:40:59PM -0400, CactO_o's wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > On Thu, Jul 30, 2009 at 01:23:52PM -0400, > > CactO_o's wrote: > > > > > Hi all, > > > > > > In first, i'm french and I don't speak english > > very well, so I hope you understand me =]by Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 10:25:56AM -0400, holstebm wrote: > Maxim Dounin Wrote: > ------------------------------------------------------- > > Hello! > > > > On Tue, Jul 28, 2009 at 12:59:15PM +0400, Maxim > > Dounin wrote: > > > > > Hello! > > > > > > On Tue, Jul 28, 2009 at 01:43:57AM -0400, > > holstebm wrote:by Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 02:04:43PM -0400, shaktale wrote: > > Probably yuo need somthing like this: > > location ~ ^.+\.(js|jpe?g|gif|png|css)$ { > try_files $uri /index.php; > expires 1d; > } > > loaction ~ ^/(.+)_(.+)/(.+)/$ { > fastcgi_pass 127.0.0.1:9000; > include /usr/local/nginx/conf/fastcgi_params; > fastcgi_param SCRIPT_FILENAME /path/tby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 01:23:52PM -0400, CactO_o's wrote: > Hi all, > > In first, i'm french and I don't speak english very well, so I hope you understand me =] > > So, I want redirect the Html page to index.php with GET argument, in this model : > > http://www.domaine.tlm/.html => http://www.domaine.tlm/index.php?page= > > I have do that > &gby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 30, 2009 at 01:34:48PM -0400, Jim Ohlstein wrote: > Igor Sysoev wrote: > >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 > >by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|