Webserver reporting: Difference between revisions
link to GoAccess website |
Add ToDo section |
||
| Line 26: | Line 26: | ||
sudo tail -f -n +0 /var/log/httpd/access_log | sudo goaccess -p /etc/goaccess/my.goaccess.conf -o /opt/htdocs/public_html/report.html --real-time-html --ws-url=wss://wiki.freephile.org:443 --addr=127.0.0.1 --origin=https://wiki.freephile.org --ssl-cert=/etc/letsencrypt/live/wiki.freephile.org/cert.pem --ssl-key=/etc/letsencrypt/live/wiki.freephile.org/privkey.pem - | sudo tail -f -n +0 /var/log/httpd/access_log | sudo goaccess -p /etc/goaccess/my.goaccess.conf -o /opt/htdocs/public_html/report.html --real-time-html --ws-url=wss://wiki.freephile.org:443 --addr=127.0.0.1 --origin=https://wiki.freephile.org --ssl-cert=/etc/letsencrypt/live/wiki.freephile.org/cert.pem --ssl-key=/etc/letsencrypt/live/wiki.freephile.org/privkey.pem - | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== ToDo == | |||
There are [https://blog.silverbucket.net/post/31927044856/3-ways-to-configure-haproxy-for-websockets 3 ways of configuring HAProxy for websockets]: | |||
# Proxy based on subdomain | |||
# Proxy based on URI | |||
# Proxy using Websocket detection | |||
We use this last approach, but should add at least subdomain processing to enable subdomain mode in QualityBox | |||
[[Category:Apache]] | [[Category:Apache]] | ||