proxy_redirect problems

Sean Allen sean at monkeysnatchbanana.com
Wed Dec 30 01:47:08 MSK 2009


changing to proxy redirect to:

    proxy_redirect  /admin  /;

works.

On Tue, Dec 29, 2009 at 4:37 PM, merlin corey <merlincorey at dc949.org> wrote:
> Hello,
>
> On Tue, Dec 29, 2009 at 1:26 PM, Sean Allen <sean at monkeysnatchbanana.com> wrote:
>> This might be simple and related to the fact that I have been working
>> way too many hours in the last 4 weeks.
>> If it is, please forgive.
>>
>> We have:
>>
>> rewrite ^/$ /admin;
>
> You don't need this rewrite and what it does is cause the behavior
> that you say you don't want :P.
>
> Try this seaside location instead:
> location @seaside {
>  proxy_pass http://gemstone/admin;
> }
>
> You might then need to play with proxy_redirect values and/or try with
> trailing slash.
>
> GET SOME SLEEP!
> -- Merlin
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list