static POST
Igor Sysoev
is at rambler-co.ru
Fri Aug 15 11:10:27 MSD 2008
On Fri, Aug 15, 2008 at 03:05:42PM +0800, Delta Yeh wrote:
> What does this feature use for? Any scenarios?
This configuration is replacement of ugly hack:
location / {
if (-e $request_filename) {
break;
}
proxy_pass ...
}
> 2008/8/14 Igor Sysoev <is at rambler-co.ru>
>
> > The attached patch allows POSTs to non-existent files.
> > This allows POSTs in following configuration:
> >
> > location / {
> > error_page 404 = @fallback;
> > }
> >
> > location @fallback {
> > ...
> > }
> >
> > I intended to include it in the next release.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list