# File lib/action_dispatch/http/url.rb, line 20 def ssl? @env['HTTPS'] == 'on' || @env['HTTP_X_FORWARDED_PROTO'] == 'https' end