Re: Как перехватить ответ Apache внутри Nginx?

Vasiliy P. Melnik nginx-forum на forum.nginx.org
Вт Май 10 17:32:52 UTC 2016


в смысле как? указать локейшн и завернуть куда надо

    location ~ ^/pic/ {
        proxy_pass http://127.0.0.1:9000;
        proxy_cache pic;
#        proxy_cache_min_uses 2;
        proxy_cache_valid 30d;
        rewrite ^/pic/(.*) /imager.php?params=$1 break;
        expires 30d;
}

Posted at Nginx Forum: https://forum.nginx.org/read.php?21,266762,266768#msg-266768



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