diff options
author | sawanoboly <sawanoboriyu@higanworks.com> | 2014-11-25 15:47:43 +0900 |
---|---|---|
committer | sawanoboly <sawanoboriyu@higanworks.com> | 2014-11-25 15:47:43 +0900 |
commit | e2af81f81a917297c847409e07b91d19a8009452 (patch) | |
tree | d586bc794ea6f0d1e9d477dba2e0a8929d8f9bb6 | |
parent | cbad7c05f9db1ce74e4b4aff4be0ff2031f5ceaa (diff) | |
download | chef-zero-e2af81f81a917297c847409e07b91d19a8009452.tar.gz |
fix: should set https to rack.url_scheme #87
-rw-r--r-- | lib/chef_zero/server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb index 7d52b0b..fb2b127 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -239,6 +239,7 @@ module ChefZero @running = true } ) + ENV['HTTPS'] = 'on' if options[:ssl] @server.mount('/', Rack::Handler::WEBrick, app) # Pick a port |