Skip to content

Instantly share code, notes, and snippets.

@sdshmkh
sdshmkh / nginx.conf
Created June 19, 2018 12:12 — forked from JPry/nginx.conf
Nginx - Force PDFs to download
location ~* /(.*\.pdf) {
types { application/octet-stream .pdf; }
default_type application/octet-stream;
}