Forums

Can't download access.log.2.gz

Hi!

I can't download access.log.2.gz from files. Browser just opening it as html file.

Hm. Nginx may be messing with the compression as it tries to deliver it to you. Try this workarond, in a bash console:

cd /tmp
cp /var/log/www.mydomain.com.access.log.2.gz .
gunzip www.mydomain.com.access.log.2.gz

and then if you navigate to /tmp in the Files browser, you should be able to view the unzipped version of the logfile...

Will look into what's happening in the browser...