NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
21.91k stars 2.53k forks source link

Expose nginx logs to web gui #3659

Open CuriousJames opened 5 months ago

CuriousJames commented 5 months ago

Hello,

I've been using this project for a couple of months now, but only just noticed that the nginx logs aren't presented to the GUI.

I think it would be very useful for both error and access logs to be presented both in a 'everything' view and a per host view. That way I can keep an eye on whether/how much unauthorised access is being attempted (for example if I exposed my NPM to the internet, which I may do soon).

I just noticed this now as I've started using access lists and for some reason my machine is bein denied even though it's in a subnet I've allowed, so I was trying to diagnose that but have no logs to hand to do so.

Thanks and all the best, James.

carylewis commented 5 months ago

Being able to change the log level and what is being logged would also be very useful