fix error
This commit is contained in:
parent
c841f48477
commit
7ef443aed5
|
@ -13,11 +13,11 @@ class Admin::BoxController < OrbitAdminController
|
||||||
end
|
end
|
||||||
sleep 3
|
sleep 3
|
||||||
end
|
end
|
||||||
reverse_proxy "unix://#{SocketFile}", path: request.env['ORIGINAL_FULLPATH'] do |config|
|
reverse_proxy "unix://#{SocketFile}", path: '/' do |config|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
def show
|
def show
|
||||||
path = request.env['ORIGINAL_FULLPATH']#.gsub(/.*\/admin\/box/, "")
|
path = request.env['ORIGINAL_FULLPATH'].gsub(/.*\/admin\/box/, "")
|
||||||
puts ['path', path]
|
puts ['path', path]
|
||||||
reverse_proxy "unix://#{SocketFile}", path: path do |config|
|
reverse_proxy "unix://#{SocketFile}", path: path do |config|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue