Giter Site home page Giter Site logo

Comments (9)

xavier-hernandez avatar xavier-hernandez commented on June 14, 2024

@second2falcon I think you want this https://goaccess.io/.

from goaccess-for-nginxproxymanager.

second2falcon avatar second2falcon commented on June 14, 2024

@xavier-hernandez should have been able to figure that out myself 🙄
Sorry for the stupid question, but what command is run within the container?
I have now been fidling around with goaccess for almost an hour with various commands from the internet and various combinations of the man pages, but haven't gotten the webserver to run a single time. (I know this is a more suited question for the goaccess side of things, but as the docker container seems to work flawlessly, I wanted to ask here first.) TIA

from goaccess-for-nginxproxymanager.

xavier-hernandez avatar xavier-hernandez commented on June 14, 2024

It'd be something like this ./goaccess --num-tests=0 --no-global-config --config-file=${goan_config} &

your config would have to be setup for it to create the index page you can refer to this https://raw.githubusercontent.com/xavier-hernandez/goaccess-for-nginxproxymanager/main/resources/goaccess/goaccess.conf

from goaccess-for-nginxproxymanager.

second2falcon avatar second2falcon commented on June 14, 2024

I think this will point me in the right direction. Will check further with the people over at the GoAccess GH.

Will return once I have a solution and post it here.

from goaccess-for-nginxproxymanager.

xavier-hernandez avatar xavier-hernandez commented on June 14, 2024

A shortcut would be to launch this docker image, then copy the configuration file within the container and you're basically done.

from goaccess-for-nginxproxymanager.

second2falcon avatar second2falcon commented on June 14, 2024

@xavier-hernandez
Did that and with the help of some other guides it is now working.
The only thing I don't understand yet how it works, is the detection of new proxy hosts? Do you have a script which checks for that and then adds that new line or how did you do that?

from goaccess-for-nginxproxymanager.

xavier-hernandez avatar xavier-hernandez commented on June 14, 2024

@second2falcon only a restart adds new proxy hosts. Its the same with the docker container.

from goaccess-for-nginxproxymanager.

second2falcon avatar second2falcon commented on June 14, 2024

@xavier-hernandez that is not the case for me. Might be something tho to do with the way NGINX/openresty interact with the dashboard as it is not one service anymore. Could also be because it's running on debian and not alpine. Will look into it further.

Otherwise I should be able to use a regex in the goaccess.conf right?

from goaccess-for-nginxproxymanager.

xavier-hernandez avatar xavier-hernandez commented on June 14, 2024

It all depends on how you have your configuration set up. I think your questions are more for https://github.com/allinurl/goaccess than this repo.

Also take a look at the code within this container. Most of it is bash.

from goaccess-for-nginxproxymanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.