Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
проксирование в мир
 
 
Привет
Что можете сказать по безопасности конструкции
        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 не заворачиваются
 
 |