PPROF: restrict access

Hello,

if I were to enable pprof in production via _ “net/http/pprof”, how to restrict so that only certain IP addresses may access the new endpoint such as
/debug/pprof/profile ?

I dont want them to be abused by certain client.

thank you in advanced,

best regards,
haries

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.