Skip to content

Commit 74271c8

Browse files
Merge pull request #1072 from travis-ci/k8s_disable_ssl
Disable SSL on k8s production env
2 parents 5d3c31a + 1a8ba15 commit 74271c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/travis/api/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def initialize
136136
use Travis::Api::App::Middleware::OpenCensus
137137
end
138138

139-
use Rack::SSL if Endpoint.production?
139+
use Rack::SSL if Endpoint.production? && !ENV['DOCKER']
140140
use ActiveRecord::ConnectionAdapters::ConnectionManagement
141141
use ActiveRecord::QueryCache
142142

0 commit comments

Comments
 (0)