about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-08-18 17:48:57 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-08-18 17:48:57 +0200
commit8459acd1234e9efcbf106e3eaa00ca871717d386 (patch)
tree48a67110262328e11db1dfb995a034b427e785c8 /config
parent6426819b6f7af0eff516340ca24d7f8af1cc6397 (diff)
Fix for force SSL issue with websockets
Diffstat (limited to 'config')
-rw-r--r--config/environments/production.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 4c4ed760c..09b77654f 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -32,7 +32,7 @@ Rails.application.configure do
   # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
 
   # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
-  config.force_ssl = ENV['LOCAL_HTTPS'] == 'true'
+  config.force_ssl = false
 
   # Use the lowest log level to ensure availability of diagnostic information
   # when problems arise.