mirror of
https://github.com/umputun/reproxy.git
synced 2024-08-16 12:10:31 +03:00
271beedc99
A host substitution functionality has been added to the match logic for the MTProxy match type. This allows for more flexible routing rules, enabling the replacement of "$host" and "${host}" placeholders in the destination URL with the server name, before performing the regex match. Updated corresponding tests to reflect this change. make additional test without host substitution add test with ${host} substitution |
||
---|---|---|
.. | ||
discovery | ||
mgmt | ||
plugin | ||
proxy | ||
main_test.go | ||
main.go |