Re: проксирование в мир

David Mzareulyan david at hiero.ru
Mon Apr 21 15:16:44 MSD 2008


Хм. А что тут вообще можно говорить _о безопасности_?

> Привет
> 
> Что можете сказать по безопасности конструкции
> 
> location ^~ /remote {
> internal;
> x_accel_redirect off;
> rewrite /remote/([^/]+)  $1/  break; # добавляем в конец
> / для
> /remote/domain.com
> rewrite /remote/(.+)  $1  break;
> proxy_pass http://$uri?$args;
> }
> используемой в SSI
> <!--#include
> virtual="/remote/untrustedremotehost.com/sub/dir/file.php" -->
> error_page в /remote не заворачиваются
> 


-- 
С уважением
Давид Мзареулян
david at hiero.ru








More information about the nginx-ru mailing list