Skip to content

Fixed Nginx's force SSL redirect URL #788

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

Merged

Conversation

alianwar
Copy link

@alianwar alianwar commented Aug 10, 2020

If you have checked Force HTTPS by redirecting all HTTP traffic to HTTPS

Before Fix:

curl -i "http://app.example.com/path?var=abc"
HTTP/1.1 302 Moved Temporarily
Location: https://app.example.com/path?var=abc?var=abc

After Fix:

curl -i "http://app.example.com/path?var=abc"
HTTP/1.1 302 Moved Temporarily
Location: https://app.example.com/path?var=abc

@githubsaturn githubsaturn merged commit ae854af into caprover:master Aug 10, 2020
@githubsaturn
Copy link
Collaborator

Thanks!

@alianwar alianwar deleted the fix-nginx-force-ssl-redirect-url branch August 12, 2020 06:11
@githubsaturn githubsaturn mentioned this pull request Aug 16, 2020
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.

2 participants