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
Oliver 6a9d833251 Nginx example (#7207)
* Add sample nginx config file

- Taken from 0.13.x branch

* Add alternative setup for nginx

* Add brief note in the docs
2024-05-13 14:15:45 +10:00