fix error

This commit is contained in:
rulingcom 2023-07-01 11:10:36 +08:00
parent c841f48477
commit 7ef443aed5
1 changed files with 2 additions and 2 deletions

View File

@ -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