Open Joohansson opened 3 years ago
Not sure why this is not working in docker compared to running manually. Perhaps it has something to do with system configured logging? :thinking: I asked the maintainers to release a new version on the ipfilter-package which has a configurable logger (https://github.com/jetersen/express-ipfilter/issues/72) – with this we could supply our own logger into the library.
So we have this log set to false to disable logging blocked IPs when they attempt to connect. That works fine normally but not with docker for some reason! I have no idea.
https://github.com/Joohansson/NanoRPCProxy/blob/master/src/proxy.ts#L204