Commit e863ec41 by Matjaz Gregoric

Add ability to set ssl option through env variable.

parent 172989a7
......@@ -19,3 +19,4 @@ Greg Price <gprice@edx.org>
Sarina Canelake <sarina@edx.org>
Alexandre Dubus <alexandre.dubus@inria.fr>
Alan Boudreault <alan@alanb.ca>
Matjaz Gregoric <mtyaka@gmail.com>
......@@ -20,6 +20,7 @@ common: &default_session
max_retries: <%= ENV['MONGOID_MAX_RETRIES'] || 1 %>
retry_interval: <%= ENV['MONGOID_RETRY_INTERVAL'] || 0 %>
timeout: <%= ENV['MONGOID_TIMEOUT'] || 0.5 %>
ssl: <%= ENV['MONGOID_USE_SSL'] || false %>
production:
sessions:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment