Google Chrome Frame was a plugin for Internet Explorer, but is no longer supported. And it was included with http and not https which triggered a warning on most pods. Also set the minimum version to 9 to support #6557 closes #6751
19 lines
677 B
Ruby
19 lines
677 B
Ruby
# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
# licensed under the Affero General Public License version 3 or later. See
|
|
# the COPYRIGHT file.
|
|
|
|
# This file is used by Rack-based servers to start the application.
|
|
|
|
require ::File.expand_path("../config/environment", __FILE__)
|
|
require ::File.expand_path("../lib/unicorn_killer", __FILE__)
|
|
require ::File.expand_path("../lib/rack/internet_explorer_version", __FILE__)
|
|
|
|
# Kill unicorn workers really aggressively (at 300mb)
|
|
if defined?(Unicorn)
|
|
use UnicornKiller::Oom, 300 * 1024
|
|
end
|
|
use Rack::Deflater
|
|
use Rack::InternetExplorerVersion, minimum: 9
|
|
use Rack::Protection::FrameOptions
|
|
|
|
run Diaspora::Application
|