|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ругается на конфиг с nginx http recaptcha module
- To: nginx-ru@xxxxxxxxx
- Subject: Re: ругается на конфиг с nginx http recaptcha module
- From: Alexander Petrovsky <askjuise@xxxxxxxxx>
- Date: Thu, 10 Mar 2011 17:54:17 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=9quxtSuTmBiA9ZnN21Fdt/LlFULiJv4MBqHGeHKtFhg=; b=wNCmJoyz6VDXOh2s1c1Rcv4Ct3EtYDMlSXpNfq+uZb4f4JvwDhA8zibkoCPl/9HIsK nDJ17WSJf6XN3/YoByG94FBwxRnKo+YTvYnoashDhU9WO/zZv3TixD8yfsHbiWspJ5XI tl2AA61p1o2UmGsb6i+xaaclVfcNIue5dhYbc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wRQLyy42Xi9KkJn/zs/RkWv0aHRsfKG/EeeeisBgq5r3n89HL+98n7a7wV5kW5amOO nyOgn6XYY9dMxZC0yrTb07qI8UDFuB2nw0dSD6AHerYQFxnxxV0aDkWCXeuWvV1dI9lD lecDpIRAA/6kR2QjgUmiZMYbI6iZPu1zX4Uu8=
- In-reply-to: <03b46c85b4cf35daa983f1618e30dbea.NginxMailingListRussian@xxxxxxxxxxxxxxx>
- References: <03b46c85b4cf35daa983f1618e30dbea.NginxMailingListRussian@xxxxxxxxxxxxxxx>
В русской "C"?
10 марта 2011 г. 14:54 пользователь necro <nginx-forum@xxxxxxxx> написал:
Приветствую!
Собрал nginx c модулем nginx_http_recaptcha_module,
сконфигурировал в соответствии с
руководством на
https://github.com/yaoweibin/nginx_http_recaptcha_module, при
старте nginx выдает ошибку:
# nginx -t
[emerg]: unexpected "C" in /etc/nginx.conf:170
configuration file /etc/nginx.conf test failed
Кусок конфига:
location = /set_secure_cookie {
internal;
secure_cookie_expires 1h;
secure_cookie_md5
private_key$binary_remote_addr$secure_cookie_set_expires_base64;
add_header Set-Cookie
"CAPTCHA_SESSION=$secure_cookie_set_md5;
expires=$secure_cookie_set_expires; path=/";
add_header Set-Cookie
"CAPTCHA_EXPIRES=$secure_cookie_set_expires_base64;
expires=$secure_cookie_set_expires; path=/";
rewrite ^.*$ http://example.com redirect;
return 302;
}
Строка 170:
add_header Set-Cookie "CAPTCHA_SESSION=$secure_cookie_set_md5;
expires=$secure_cookie_set_expires; path=/";
В чём может быть проблема?
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,181879,181879#msg-181879
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
-- Петровский Александр / Alexander Petrovsky,
Jabber: juise@xxxxxxxxx Phone: +7 914 8 820 815
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|