From 52ab8f9eafd6b8cb0b278d2868f8adc4da73af65 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Fri, 6 Feb 2015 19:20:12 +1100 Subject: [PATCH] Ruby 2 support --- ruby/path.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}" -- 2.39.2