Open clementallen opened 5 years ago
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.
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
This can be done at HTML level with some javascript i think.
Example of application using HTTP: https://github.com/Turbo87/ogn-web-gateway/blob/master/src/ogn_ddb.rs#L70
Currently, it is possible to visit and use the ddb over HTTP without the page redirecting to HTTPS.