Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.8.25

All files from this thread

File Name File Size   Posted by Date  
patch.wodebug.txt 700 bytes open | download Igor Sysoev 11/16/2009 Read message
November 17, 2009 05:22AM
On Tue, Nov 17, 2009 at 03:19:44AM +0100, Dinh Pham wrote:

> Hi Igor,
>
> Could you kindly explain these features in more details?
>
> Thanks a lot,
>
> Dinh
>
>
> Igor Sysoev wrote:
> > Changes with nginx 0.8.25 16 Nov
> > 2009
> >
> >
> > *) Feature: regular expression named captures.

server {
server_name ~^(www\.)?(?<name>.+)$;
root $name;
}

location ~^(?<script_name>/.+\.php)(?<path_info>.*)$ {
fastcgi_param SCRIPT_FILENAME /path/to/php$script_name;
fastcgi_param PATH_INFO $path_info;

> > *) Feature: now URI part is not required a "proxy_pass" directive if
> > variables are used.

proxy_pass http://$backend;

Before you should add URI part:
proxy_pass http://$backend$request_uri;

> > *) Feature: now the "msie_padding" directive works for Chrome too.

msie_padding on; # default

The directive adds lines to the default error pages to increase their size
to more than 512 bytes:

<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

nginx-0.8.25

Igor Sysoev November 16, 2009 09:00AM

Re: nginx-0.8.25

Steve November 16, 2009 10:58AM

Re: nginx-0.8.25 Attachments

Igor Sysoev November 16, 2009 11:08AM

Re: nginx-0.8.25

Jim Ohlstein November 16, 2009 11:32AM

Re: nginx-0.8.25

Steve November 16, 2009 11:32AM

Re: nginx-0.8.25

Gabriel Ramuglia November 16, 2009 11:38AM

Re: nginx-0.8.25

Igor Sysoev November 16, 2009 03:00PM

Re: nginx-0.8.25

Dinh Pham November 16, 2009 09:26PM

Re: nginx-0.8.25

Igor Sysoev November 17, 2009 05:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 201
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready