rewrite and proxy_pass at the same time in nginx

Francis Daly francis at daoine.org
Mon Nov 18 22:55:26 UTC 2013


On Mon, Nov 18, 2013 at 03:55:08PM -0500, marianopeck wrote:

Hi there,

<snippage>

> server
> {
>   location ~ ^/someService(/.*)$ {
>       proxy_pass https://$1;
>   }
> }

What does the error log say?

What does the error log say when you change proxy_pass to have 2 slashes
and not 3?

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list