# File lib/puma/server.rb, line 343 def default_server_port(env) env['HTTP_X_FORWARDED_PROTO'] == 'https' ? PORT_443 : PORT_80 end