Open mitchellkellett opened 1 year ago
@coderabbitai review
The update introduces new API endpoints for IP information retrieval in the README.md
, reconfigures Nginx to optimize header management and response delivery, and employs map.conf
to translate IP addresses and URIs into specific outputs. These changes streamline the server's operation and enhance its capability to provide detailed IP data.
File Path | Change Summary |
---|---|
README.md |
Added documentation for new URI endpoints to fetch IP address details. |
nginx/conf.d/ipinfo.conf |
Reorganized add_header directives and updated location blocks for better header and response management. |
nginx/conf.d/map.conf |
Introduced mapping of IP addresses and request URIs to specific responses. |
nginx/nginx.conf |
Added map_hash_max_size and map_hash_bucket_size directives for improved mapping efficiency. |
ππ» In the web's vast prairie, updates hop along,
New paths are carved, and the server grows strong.
With each request, it leaps without fail,
Serving data swift, like the wind in its tail. π¬οΈπ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?
I really need this. Was the request merged?
I'm looking for a self hosted API that I can provide an IP address and it can provide back this kind of info.
Hi @benisai I haven't had a chance to get back to reviewing the comments by @PeterDaveHello and making changes. So I don't believe it's been merged. You could always check out my fork if you need it.
Hi @benisai I haven't had a chance to get back to reviewing the comments by @PeterDaveHello and making changes. So I don't believe it's been merged. You could always check out my fork if you need it.
I will indeed. I see you have a docker container as well.
Moved existing functionality for looking up requesting IP address to use NGINX maps.
Added functionality to allow for looking up IP addresses.
Updated README to include details on added functionality.
Summary by CodeRabbit
New Features
Documentation
Refactor
Style
Chores
map_hash_max_size
andmap_hash_bucket_size
directives.