Re: Разный proxy pass в зависимости от $http referer

Maxim Dounin mdounin на mdounin.ru
Чт Янв 14 20:05:47 MSK 2010


Hello!

On Thu, Jan 14, 2010 at 11:45:29AM -0500, lazutov wrote:

> Благодарю за комментарии!
> Но...
> 
> Starting nginx: : "proxy_pass" may not have URI part in location given by regular expression, or inside named location, or inside the "if" statement, or inside the "limit_except" block in /etc/nginx/conf/nginx.conf:285

[...]

> 	 location @in {
> 	   proxy_pass       http://new.qwerty.name:80/;

- 	   proxy_pass       http://new.qwerty.name:80/;
+ 	   proxy_pass       http://new.qwerty.name:80;

Maxim Dounin



Подробная информация о списке рассылки nginx-ru