Question about request_body and redirect
quan.nexthop at gmail.com
Wed Aug 19 15:24:16 MSD 2009
thank a lots
On Wed, Aug 19, 2009 at 6:00 PM, Weibin Yao <nbubingo at gmail.com> wrote:
> quan nexthop at 2009-8-19 17:33 wrote:
>> Other issue:
>> I want to redirect some unsafe URLs to different safe URL, like
>> http://www.abc.com/a.index redirect to http://www.1234.com/a.index
>> http://www.abc.com/b.index rediect to http://www.5566.com/b.index I use
>> the function: ngx_http_internal_redirect() to implementate, but I always
>> get a crash.
>> Any idea about these ?
> ngx_http_internal_redirect() can just redirect the request in the same
> You can return the request with 301 or use the Nginx's proxy_pass
> Weibin Yao
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx