What is a proxy for recaptcha configuration?

I am using recaptcha gem in Rails 3.1.0. I follow the instructions on the github page: https://github.com/ambethia/recaptcha

I purchased the keys and set up recaptcha as shown below.

Recaptcha.configure do |config| config.public_key = '6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy' config.private_key = '6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx' config.proxy = 'http://myproxy.com.au:8080' end 

What is the purpose of config.proxy? What should I fill out for this?

+8
ruby-on-rails proxy recaptcha
source share
1 answer

recaptcha requires a web server with outgoing internet access. If you want to use a specific web server for recaptcha, you need its address.

Otherwise, you can just comment on it. It should work fine.

 Recaptcha.configure do |config| config.public_key = '6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy' config.private_key = '6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx' # config.proxy = 'http://myproxy.com.au:8080' end 
+9
source share

All Articles