xavier-hernandez / goaccess-for-nginxproxymanager

GoAccess Docker Image for Nginx Proxy Manager and more...
https://hub.docker.com/r/xavierh/goaccess-for-nginxproxymanager
MIT License
523 stars 39 forks source link

Add a second NPM log directory #179

Closed synexTG closed 5 months ago

synexTG commented 5 months ago

Hello,

first of all thank you for this great docker image, it is working perfectly. Due to better security i am now running a second instance of nginx proxy manager for external services (Port 443 external, port 444 on second npm instance).

I want to run goaccess for the internal and external instance of nginx proxy manager, how can i achieve this? The logs are in different locations and i only know that you can mount one directory.

Is there any possibility to add a second log directory?

Thanks you!

xavier-hernandez commented 5 months ago

I suggest you just run another instance of the app and point that to the new location. Merging directories would cause a problem because both instances might have the same proxy file name. For example, both could have proxy-host-2_access.log. The app how it currently works would merge both files from both instances.