X-Git-Url: https://code.delx.au/cgiproxy/blobdiff_plain/0faded7b34470dde962855b9584453be238e656a..HEAD:/ruby/path.cgi 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}"