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

Force redirect to HTTPS from HTTP #44

Open
clementallen opened this issue May 10, 2019 · 4 comments
Open

Force redirect to HTTPS from HTTP #44

clementallen opened this issue May 10, 2019 · 4 comments

Comments

@clementallen
Copy link
Contributor

Currently, it is possible to visit and use the ddb over HTTP without the page redirecting to HTTPS.

image

@snip
Copy link
Contributor

snip commented May 12, 2019

If we redirect all trafic some clients which automatic retrieve for example http://ddb.glidernet.org/download/ may fail as not supporting https.

So yes redirecting to HTTPS but from the HTML page (but not all trafic) can be useful.

PR welcome.

@clementallen
Copy link
Contributor Author

Not sure this is something that can be achieved through a pull request, right? Seems more of an Nginx/Apache config thing on the server

@snip
Copy link
Contributor

snip commented May 16, 2019

This can be done at HTML level with some javascript i think.

@snip
Copy link
Contributor

snip commented May 19, 2019

Example of application using HTTP: https://github.com/Turbo87/ogn-web-gateway/blob/master/src/ogn_ddb.rs#L70

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.

2 participants