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
- To: nginx-ru@xxxxxxxxx
- Subject: Re: eval module 1.0.1
- From: Anton Bessonov <exelib@xxxxxxxxxxxxxx>
- Date: Sat, 19 Jun 2010 17:41:48 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=jaLgMqzUiL1lbp+k6re/1UGKZ+4/Simox+bfWFWN7zg=; b=ZKPtP8/iYyKp+fiuyfYEv3EObIc0l2eEqv/RSSbrMGbAy8AepB24u6LWGgUeR0yd05 5eqMCceQt/qyeYb/zutSU4EM3RxCZYTAnPwIo19EPgezP588FryMNDFUXnez1Q1NwRPC EtZISY/RwX8ojIsg7URyAvPD/apTqIjmcrYeg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=TdW8Jakx2+BHzi0chmspI+rA5LK30ed1JpUDxX23AczMYeNOC1yi2jy9N/5ZWvWD2f ZBJAxM9d6QPESR8Mw+6+fHpJu63aXtWO54lZe85uWXW+5OuHC2fbAzJTqKXHhH8gZtFp stapphr9cnuRUe3e5C3Kntf7v51ZIDn6+aaCg=
- In-reply-to: <4A43E79A.3050100@xxxxxxxxxxx>
- References: <4A43E79A.3050100@xxxxxxxxxxx>
Здравствуйте!
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 Host $http_host;
proxy_pass http://127.0.0.1:12345/?subdomain=$subdomain;
}
proxy_intercept_errors on;
proxy_set_header Host $http_host;
proxy_buffering off;
proxy_pass http://127.0.0.1:12344;
}
}
server {
listen 127.0.0.1:12345;
location / {
fastcgi_cache off;
fastcgi_pass 127.0.0.1:9000;
include /home/toxa/sources/nginx/fcgi.conf;
fastcgi_param SCRIPT_FILENAME /home/sources/test.php;
}
}
глухнет при POST, потом в логе:
2010/06/19 17:33:51 [error] 24363#0: *1188 upstream timed out (110:
Connection timed out) while reading response header from upstream,
client: 127.0.0.1, server: ~^(?P<subdomain>.*)\.domain$, request: "POST
/index.php?action=login2 HTTP/1.1", subrequest: "/index.php", upstream:
"http://127.0.0.1:12345/?subdomain=test12", host: "test12.domain",
referrer:
"http://test12.domain/index.php?PHPSESSID=30cee0fdb82d0939e7acf7c418bbfa44&"
и потом на фронте
504 Gateway Time-out
без eval_escalate on предлогает загрузить пустой index.php.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|