-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #934 infinite redirects with SSL HTTPS & NGIX
Fixes two issues. First, updates NGINX configuration files to pass $request_uri port of URL from port 80 to port 443. Failing to pass $request_uri tosses user (and non-users with invites) to home page rather than requested url. Second, and more signficantly, scheme `https` in `govready-url` parameter was also setting `SECURE_SSL_REDIRECT` at the Django app causing infinite redirects behind an NGINX reverse proxy that was terminating the SSL connection and passing to local `http://localhost:8000`. Fix was to let `SECURE_SSL_REDIRECT` remain its default `False` and add new parameter `secure_ssl_redirect` for situations when deployment called on Django to handle redirect.
- Loading branch information
1 parent
042e201
commit 64dce1b
Showing
6 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
v0.9.1.22.6 | ||
|
||
v0.9.1.22.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters