not really true because of order of rules and another existing for html, will need to change where files are stored for that to work

merge-requests/208/head
fatchan 5 years ago
parent e622d80ea3
commit 987c7bc8e4
  1. 4
      configs/nginx.example
  2. 4
      configs/nginx_no_https.example

@ -118,8 +118,8 @@ server {
}
# "Other" Files for custom type uploads, uses content-disposition to prevent rendering
# inline in browser so even HTML filetypes can be offered and will present a "save" dialog box
# make sure these file extensions match for mimes defined in configs/main.js "otherMimeTypes"
# inline in browser and will present a "save" dialog box. make sure these file
# extensions match for mimes defined in configs/main.js "otherMimeTypes"
# location ~* \.(txt)$ {
# access_log off;
# expires max;

@ -118,8 +118,8 @@ server {
}
# "Other" Files for custom type uploads, uses content-disposition to prevent rendering
# inline in browser so even HTML filetypes can be offered and will present a "save" dialog box
# make sure these file extensions match for mimes defined in configs/main.js "otherMimeTypes"
# inline in browser and will present a "save" dialog box. make sure these file
# extensions match for mimes defined in configs/main.js "otherMimeTypes"
# location ~* \.(txt)$ {
# access_log off;
# expires max;

Loading…
Cancel
Save