Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eval module 1.0.1
Hello!
On Sat, Jun 19, 2010 at 05:41:48PM +0200, Anton Bessonov wrote:
> Здравствуйте!
>
> eval 1.0.2 за 14. февраля, nginx 8.41.
>
> вот такая конфигурация:
>
> server {
> listen 80;
> server_name ~^(?P<subdomain>.*)\.domain$;
>
> eval_escalate on;
> location / {
>
> eval $var {
> proxy_method GET;
> proxy_pass_request_body off;
+ proxy_set_header Content-Length 0;
> proxy_set_header Host $http_host;
> proxy_pass http://127.0.0.1:12345/?subdomain=$subdomain;
> }
[...]
Maxim Dounin
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|