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