2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

Update Caddyfile (#6919)

Force file download for /media/ files for improved security
This commit is contained in:
Oliver
2024-04-02 21:12:25 +11:00
committed by GitHub
parent 50a4f74d7e
commit c6ea5228cb

View File

@ -45,6 +45,8 @@
root * /var/www/media
file_server
header Content-Disposition attachment
forward_auth {$INVENTREE_SERVER:"http://inventree-server:8000"} {
uri /auth/
}