Skip to content

fix: add SECURE_PROXY_SSL_HEADER for improved SSL handling - #6550

Merged
wxg0103 merged 1 commit into
v2from
pr@v2@fix_add_ssl_hanging
Jul 31, 2026
Merged

fix: add SECURE_PROXY_SSL_HEADER for improved SSL handling#6550
wxg0103 merged 1 commit into
v2from
pr@v2@fix_add_ssl_hanging

Conversation

@shaohuzhang1

Copy link
Copy Markdown
Contributor

fix: add SECURE_PROXY_SSL_HEADER for improved SSL handling

Copilot AI review requested due to automatic review settings July 31, 2026 02:31
@shaohuzhang1

Copy link
Copy Markdown
Contributor Author

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Django web runtime settings to improve HTTPS detection when MaxKB is deployed behind a reverse proxy by adding SECURE_PROXY_SSL_HEADER.

Changes:

  • Add SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') to the web settings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


edition = 'CE'

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
@wxg0103
wxg0103 merged commit e8fa5d8 into v2 Jul 31, 2026
5 of 7 checks passed
@wxg0103
wxg0103 deleted the pr@v2@fix_add_ssl_hanging branch July 31, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants