mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-11-14 12:54:10 +01:00
Add support for Proxy Protocol V1 and V2 in streamproxy configuration
- Updated HTML form to allow selection of Proxy Protocol version. - Backend and config struct now use ProxyProtocolVersion (int) instead of UseProxyProtocol (bool). - UI and API now pass and display Proxy Protocol version. TODO: UDP should only allow Proxy Protocol V2
This commit is contained in:
@@ -17,6 +17,7 @@ require (
|
||||
github.com/likexian/whois v1.15.1
|
||||
github.com/microcosm-cc/bluemonday v1.0.26
|
||||
github.com/monperrus/crawler-user-agents v1.1.0
|
||||
github.com/pires/go-proxyproto v0.8.1
|
||||
github.com/shirou/gopsutil/v4 v4.25.1
|
||||
github.com/stretchr/testify v1.10.0
|
||||
github.com/syndtr/goleveldb v1.0.0
|
||||
|
||||
Reference in New Issue
Block a user