mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-16 23:21:09 +00:00
Add content headers to config (#3731)
* add content header * add content header * fix format * fix format
This commit is contained in:
1 parent
8bcf72fbb2
commit
a3c9331a08
2 files changed
+6
No files matched your search
@@ -46,6 +46,9 @@ server {
|
||||
|
||||
# Media files require user authentication
|
||||
auth_request /auth;
|
||||
|
||||
# Content header to force download
|
||||
add_header Content-disposition "attachment";
|
||||
}
|
||||
|
||||
# Use the 'user' API endpoint for auth
|
||||
|
||||
Reference in new issue
Block a user