Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Proxy support for django 4.2 #6453

Merged
merged 3 commits into from
Feb 8, 2024

Conversation

SchrodingersGat
Copy link
Member

Improve support for django configuration, in particular around host / proxy settings.

Updating to django 4.2 has changed the way that some core settings are specified, and these now need to be explicitly configured for InvenTree to run properly behind a proxy.

Ref : #6452 (turns out the issue is proxy, not db)

- Now required by 4.2
- Prevents running behind proxy
- CSRF_TRUSTED_ORIGINS
- USE_X_FORWARDED_HOST
- USE_X_FORWARDED_PORT
- Update config template file also.
@SchrodingersGat SchrodingersGat added dependency Relates to a project dependency setup Relates to the InvenTree setup / installation process breaking Indicates a major update or change which breaks compatibility labels Feb 8, 2024
@SchrodingersGat SchrodingersGat added this to the 0.14.0 milestone Feb 8, 2024
Copy link

netlify bot commented Feb 8, 2024

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit b77794c
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/65c449693180ec0007a421a6

This was referenced Feb 8, 2024
Remove dirt
@SchrodingersGat SchrodingersGat merged commit 226dc82 into inventree:master Feb 8, 2024
24 checks passed
@SchrodingersGat SchrodingersGat deleted the proxy-support branch February 8, 2024 03:45
@matmair
Copy link
Member

matmair commented Feb 8, 2024

@SchrodingersGat this will need to be in the release notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Indicates a major update or change which breaks compatibility dependency Relates to a project dependency setup Relates to the InvenTree setup / installation process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants