Closed MyKeySoftMK closed 1 year ago
Thanks for the information. I'll take a look at it.
Here my Solution - now it works
docker-compose.yml
version: '3.3'
services:
goaccess:
image: 'xavierh/goaccess-for-nginxproxymanager:latest'
container_name: goaccess
restart: always
ports:
- '7890:7890'
environment:
- TZ=Europe/Berlin
- SKIP_ARCHIVED_LOGS=False #optional
- DEBUG=False #optional
- BASIC_AUTH=False #optional
- BASIC_AUTH_USERNAME=user #optional
- BASIC_AUTH_PASSWORD=pass #optional
- EXCLUDE_IPS=127.0.0.1 #optional - comma delimited
- LOG_TYPE=CUSTOM #optional - more information below
volumes:
- ~/npm/data/logs:/opt/log
- ./custom:/opt/custom #optional, required if using log_type = CUSTOM
custom/goaccess.conf
real-time-html true
log-file /opt/log/proxy-host-1_access-geo.log
output /var/www/html/index.html
date-format %d/%b/%Y
time-format %T
log-format [%d:%t %^] [%^ %h] [%^ %e] "%u" %^ %s %^ %m %^ %v "%U" [%^ %b] [%^] [%^] [%^] "%R"
Hello, I am new on GoAccess. I need it for control my geoblocking with NPM.
I have installed NPM like here https://www.reddit.com/r/nginxproxymanager/comments/sjf1hw/tutorial_nginx_proxy_manager_together_with_geoip2/
The log is
In NPM I have following logs:
I have installed your docker - but the log say following:
How can I use it?
proxy-host-1_access-geo.log proxy-host-1_access.log