Thank you Matthew.
I have now configured the file, but I cannot access to the index.html
file from Caddy as I do not know how can I point to the famous index.html
.
I do not know if is counts, but currently Caddy is set to use the following -root /home/Qhttpd
The caddy.conf
(for accessing GoAccess) is the following:
sub.domain.com {
import gzipconf
import addheader
log /share/Public/GoAccessLogs/goaccess-access.log
proxy / http://192.168.10.37:7890 {
keepalive 32
transparent
websocket
}
}
The goaccess.conf
is the following (in this example I want to see stats on the access to GoAccess done via Caddy):
port 7890
daemonize true
log-format COMMON
log-file /share/Public/GoAccessLogs/goaccess-access.log
output index.html
real-time-html true
Under /home/Qhttpd/Web/goaccess/
I can see index.html
(I only created the goaccess
folder and then goaccess created the index.html
file alone).
However I have problems to access the file index.html
(it has permission 666), whatever I type:
https://sub.domain.com
https://sub.domain.com/goaccess
https://sub.domain.com/goaccess/index.html
Once again I am surely missing something really simple…
Thanks!