i have installed sarg & generated the report by running sarg -x & the report is saved on /var/www/html/squid-reports/2024Jun18-2024Jun18
now i dont know how to view the file... can some one help me how to view the file
to view the report u need to install nginx on opnsense
go to services>nginx>configuration
in http(s) tab> location> add
add a description
URL Pattern = /test
Match Type = caseinsensitivemach
File System Root = /var/www/html/squid-reports
Index File = index.html
save
in http(s)tab>http server ( make sure to click advanced mode)
HTTP Listen Address = 8888 (port number-the port i use )
Default Server = tick
Server Name = fqdn of ur opnsense server or the ip
File System Root = /var/www/html/squid-reports
Locations = the name u add in the above step
save
Generel tab
Enable nginx = tick
how to access
http://ur opnsense ip or fqdn:8888(the port u give)