Check your IP infos using nginx
tumfatig.net·18h
Flag this post

** 2025-10-14 ** 792 words, 4 minutes

  1. Required packages
  2. GeoLite2 databases
  3. nginx configuration
  4. Usage

There are a few times when I want to check which public IP I am browsing from… I used to use the WhatsMyIP sites but the Internet being what it is these days, I switched to using my SearXNG instance which has the IP plugin enabled.

Still, there are times I need to get my IP from a script and want a dead simple option for this. So I switched to using nginx and GeoLite2.

I was looking at some Web 3.0 pretty GUI but mostly found bloated stuff made out of Go or Rust or Node.js. I finally stumbled upon ipinfo.tw which had bo…

Similar Posts

Loading similar posts...