Serves the same fields and formats as the old PHP scripts, with HTML/XML/CSV output escaped, X-Real-IP trusted only from loopback, and a 2s reverse-DNS timeout. m.z.gd becomes an nginx return. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 lines
38 B
AMPL
4 lines
38 B
AMPL
module git.z.gd/zzg/ipecho
|
|
|
|
go 1.27.2
|