InvenTree/contrib/container
github-actions[bot] fa698e7e2b
Fixes for SITE_URL validity checks (#10619) (#10634)
* [docker] Allow HTTPS port to be specified for Caddy proxy

* Fix naming collision for INVENTREE_WEB_PORT

* Push InvenTree version first

* Adjust Caddyfile

- Change backup server

* Fix docstring

* Tweak for site URL check:

- Ignore port if SITE_LAX_PROTOCOL_CHECK is set
- Invert logic for readability

* Additional checks for port mismatch

* Adjust middleware checks

- Allow for less strict checking of CSRF_TRUSTED_ORIGINS

* Slight refactor

(cherry picked from commit f9ce9e20b2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-20 16:19:30 +11:00
..
.env Tweak docker setup (#10490) (#10493) 2025-10-05 22:12:35 +11:00
Caddyfile Fixes for SITE_URL validity checks (#10619) (#10634) 2025-10-20 16:19:30 +11:00
Dockerfile fix a few docker security holes (#10260) 2025-09-04 09:02:17 +10:00
dev-docker-compose.yml Debian docker image (#10227) 2025-09-03 17:05:03 +10:00
docker-compose.yml Fixes for SITE_URL validity checks (#10619) (#10634) 2025-10-20 16:19:30 +11:00
docker.dev.env [Docker] Alpine image fix (#9118) 2025-02-21 18:02:39 +11:00
gunicorn.conf.py fix instrumentation code (#9872) 2025-06-26 16:51:50 +10:00
init.sh Docker fix (#8835) 2025-01-06 09:46:16 +11:00
nginx.conf Nginx example (#7207) 2024-05-13 14:15:45 +10:00
requirements.in chore(backend): remove constraints (#9748) 2025-06-08 09:22:10 +10:00
requirements.txt bump contianer / dev dependencies too (#10472) (#10496) 2025-10-06 21:57:34 +11:00