This commit is contained in:
2024-06-29 20:38:34 -03:00
parent 3d529019e6
commit 4bb5ab631e
3 changed files with 13 additions and 4 deletions

View File

@ -24,9 +24,10 @@ ReverseMagic Yes
ReversePath "/admin/" "http://127.0.0.1:3000/"
) + funkos.map { |funko| %(ReversePath "/faaso/#{funko}/" "http://#{funko}:3000/") }.join("\n")
File.open("/etc/tinyproxy/tinyproxy.conf", "w") do |file|
File.open("tinyproxy.conf", "w") do |file|
file << proxy_config
end
end
proxy_config
end
Kemal.run