Commit Graph
2 Commits
Author SHA1 Message Date
Syogo-Suganoya b9cc1d1b09 Forward the host header in nginx auth requests (#13417)
The /auth subrequest used to check access to media files did not set
the Host header, so it reached the server as the upstream address
(e.g. inventree-server:8000 or localhost:6000). When that address is
not in ALLOWED_HOSTS, the server rejects the request with a 400 error,
which nginx returns as a 500 error for every media file.
2026-12-01 08:03:46 +11:00
OliverandMatthias Mair eb3d51f8a7 Adjust pkgr.yml (#6608)
* Adjust pkgr.yml

- Ref: https://github.com/inventree/InvenTree/issues/6154#issuecomment-1970536725
- Ref: https://doc.packager.io/documentation/customizing-the-build/#dependencies

* add in nginx config again

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
2024-03-01 12:49:06 +11:00