1
0
mirror of https://github.com/umputun/reproxy.git synced 2025-11-29 22:08:14 +02:00

add middleware to optionally allow requests from giving ips/ranges

add new remote param to docker and file providers

lint: http nil body

add support of remote ips to consul provider

local implementation of onlyfrom middleware

lint: missing comment

make proxy tests more readable

preffer public IP if any forwwarded
This commit is contained in:
Umputun
2023-11-25 13:54:14 -06:00
parent 36a5443378
commit a896f08eec
16 changed files with 531 additions and 142 deletions

View File

@@ -244,5 +244,4 @@ func TestHttp_basicAuthHandler(t *testing.T) {
require.Equal(t, http.StatusOK, resp.StatusCode)
})
}
}