Nginx tar.gz

dareksbs

Verified User
Joined
May 15, 2014
Messages
40
Hi Guys,

I've got a problem with file manager in directadmin. Basically when I want to download a backup file in tar.gz format via internet browser using file manager on nginx, I am getting the source code of tar.gz... Do anyone know how to tell nginx to not open tar.gz files in the browser ?? I want to download it, not open :)

Thanks
 
It has to do with mimetypes. Check for a mime.types or mime_types config file.
 
This thread confuses me because DirectAdmin doesn't use nginx (or apache) to display anything in your browser; DirectAdmin is a compiled system which has it's own web browser.

Exactly what do you click on to download the file?

What browser are you using?

Did you make any changes to the browser configuration?

Jeff
 
Back
Top