You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
448 B

# Load in the wx.sstbc.com server block before other matching regex locations.
location = /storage/files/17939373196aed4fa7e9f94.pdf {
return 404;
}
location ~* ^/storage/files/[^/]+\.pdf$ {
try_files $uri =404;
types {}
default_type application/octet-stream;
add_header Content-Disposition "attachment" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Content-Security-Policy "sandbox" always;
}