Евгений Шурмин
August 11, 2011 09:12AM
Хочу сделать такую штуку, когда сервер доходит до
location @app {
socket name=custom;
}

В модуле вызываетя: ngx_int_t content_handler(ngx_http_request_t *r).

В нем хочу обработать запрос и на основании него в текущий location добавить
proxy_pass с некоторыми дерективами.

После чего хочу чтоб запрос был обработан этим proxy_pass

--
С уважением, Шурмин Евгений
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Как динамически добавить proxy_pass из модуля в location

Евгений Шурмин August 11, 2011 09:12AM

Re: Как динамически добавить proxy_pass из модуля в location

Илья Шипицин August 15, 2011 06:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 209
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready