Welcome! Log In Create A New Profile

Advanced

Re: ругается на конфиг с nginx http recaptcha module

Alexander Petrovsky
March 10, 2011 04:56AM
В русской "C"?

10 марта 2011 г. 14:54 пользователь necro <nginx-forum@nginx.us> написал:

> Приветствую!
> Собрал 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@nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>



--
Петровский Александр / Alexander Petrovsky,

Jabber: juise@jabber.ru
Phone: +7 914 8 820 815
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Re: ругается на конфиг с nginx http recaptcha module

Alexander Petrovsky March 10, 2011 04:56AM

Re: ругается на конфиг с nginx http recaptcha module

necro March 10, 2011 09:28AM

Re[2]: ругается на конфиг с nginx http recaptcha module

Михаил Монашёв March 10, 2011 10:10AM

Re: Re[2]: ругается на конфиг с nginx http recaptcha module

necro March 10, 2011 01:03PM

Re[4]: ругается на конфиг с nginx http recaptcha module

Михаил Монашёв March 10, 2011 01:48PM

Re: ругается на конфиг с nginx http recaptcha module

Андрей Василишин March 10, 2011 01:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
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