Add UserName to tinyproxy conf

This commit is contained in:
Roberto Alsina 2024-07-02 10:40:36 -03:00
parent f878021425
commit 5961f8b0a1
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,4 @@
require "docr"
require "kemal" require "kemal"
module Proxy module Proxy
@ -29,6 +30,7 @@ module Proxy
funkos.sort! funkos.sort!
config = %( config = %(
UserName nobody
Port 8888 Port 8888
Listen 0.0.0.0 Listen 0.0.0.0
Timeout 600 Timeout 600

View File

@ -1,4 +1,4 @@
UserName nobody
Port 8888 Port 8888
Listen 0.0.0.0 Listen 0.0.0.0
Timeout 600 Timeout 600
@ -6,4 +6,4 @@
ReverseOnly Yes ReverseOnly Yes
ReverseMagic Yes ReverseMagic Yes
ReversePath "/admin/" "http://127.0.0.1:3000/" ReversePath "/admin/" "http://127.0.0.1:3000/"
ReversePath "/faaso/hello/" "http://hello:3000/"