Ignore SSL cerificate validation since we're hosting on localhost anyway...

This commit is contained in:
bapirex 2016-10-11 14:51:40 -07:00
parent da6f4e427d
commit ccbd3d588d
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ module ReverseProxy
target_request['Accept-Encoding'] = nil
# Make the request
Net::HTTP.start(uri.hostname, uri.port, use_ssl: (uri.scheme == "https")) do |http|
Net::HTTP.start(uri.hostname, uri.port, use_ssl: (uri.scheme == "https"), :verify_mode: => OpenSSL::SSL::VERIFY_NONE) do |http|
target_response = http.request(target_request)
end