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

Forward to Django the public port where Nginx is exposed #52

Closed
giohappy opened this issue Jan 29, 2025 · 0 comments · Fixed by #53
Closed

Forward to Django the public port where Nginx is exposed #52

giohappy opened this issue Jan 29, 2025 · 0 comments · Fixed by #53

Comments

@giohappy
Copy link
Contributor

giohappy commented Jan 29, 2025

Original PR #32 from @nicokant

Nginx configuration uses $host variable that doesn't provide custom ports, causing errors with request.build_absolute_url. This PR aims to fix providing also non-standard port specified as HTTP_PORT/HTTPS_PORT.

Related issues:

@giohappy giohappy changed the title Forward the port where Nginx is exposed to Django Forward to Django the public port where Nginx is exposed Jan 29, 2025
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 a pull request may close this issue.

1 participant