You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply place your HTML report in the web server's document root and navigate to http://mydomain.com/report.html. The 7890 port is used for the WebSocket connection, so if it’s running on the same machine as the web server, you won’t need to specify anything (no ws-url), and the WebSocket should connect without issues. However, if you're accessing the report via https://mydomain.com/report.html, you'll need to specify the SSL certificate and key using --ssl-cert=<path/cert.crt> and --ssl-key=<path/priv.key>.
Hello~
I try to access Goaccess html page but it doesn't work.
I have two question, and these are my config for Nginx and Goaccess
(my server IP is 121.156.46.51)
Pleaese help me to solve problem.
[Nginx.conf -> Vhost for Goaccess]
server {
listen 80;
server_name goaccess.mydomain.com;
location /goaccess {
root /var/www/html/goaccess/;
}
location /goaccess/ws {
proxy_pass http://127.0.0.1:7890/goaccess/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Connection "keep-alive";
proxy_pass_request_headers on;
}
[Goaccess.conf]
datetime-format %d/%b/%Y:%H:%M:%S %z
log-format %h %^[%x] [%T] %^"%r" %s %b "%R" "%u" %^
date-spec min
port 7890
ws-url ws://goaccess.mydomain.com/goaccess/ws:80
output /var/www/html/goaccess/index.html
[root@OTNASDOWN01 nginx]# goaccess /local_cache/var/log/nginx/access_combined.log -o /var/www/html/goaccess/report.html --real-time-html
[PARSING /local_cache/var/log/nginx/access_combined.log] {20,773} @ {2,596/s}
WebSocket server ready to accept new client connections
Thank you.
The text was updated successfully, but these errors were encountered: