Skip to content

HTTP middleware to allow requests from given IP ranges only

The middleware must be disabled by default and will be enabled with configuration option.

The IP addresses/ranges to be allowed must be read from environment variable during configuration loading.

We can use the following library: https://github.com/jpillora/ipfilter

Edited by Cristina Pauna