From: James Bunton Date: Fri, 6 Feb 2015 08:20:12 +0000 (+1100) Subject: Ruby 2 support X-Git-Url: https://code.delx.au/cgiproxy/commitdiff_plain/HEAD Ruby 2 support --- diff --git a/ruby/path.cgi b/ruby/path.cgi index 3d6cf29..842a603 100755 --- a/ruby/path.cgi +++ b/ruby/path.cgi @@ -1,10 +1,10 @@ -#!/usr/bin/ruby1.8 +#!/usr/bin/ruby -require 'proxy.rb' +require './proxy.rb' host = ENV["HTTP_HOST"] case host when "public.example.com" - host = "internal.example.com" + host = "internal.example.com" end proxy_to "https://#{host}"