Re:Show HN: Hacker News Trends
by ColinWright on Tuesday February 04, 2020 @11:16AM
(#22237285)
Can't do that, this will have to do.
[ Parent
| on HN ]
Does Firefox do this by default or is there a setting to upgrade http to https?
As mentioned briefly on the blog I didn't want to spend any money on this (currently not employed and living off savings) so it's sitting on the droplet also running the blog, I assume only 1 thing can run off 443? If that's the case I won't be looking to enable ssl for this, apologies.
You should be able to make the webserver reverse proxy from https://eliot-jones.com/hntrends to http://localhost:5690, e.g. with nginx [0] and httpd [1]
[0]: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-... [1]: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
Re:Show HN: Hacker News Trends
by ColinWright on Tuesday February 04, 2020 @12:21PM
(#22238217)
I have no idea, but I assume that if one asks for https and is only offered http, that would be a security hole. I just tried asking for http and it reverted to https.
I can't help, I have no knowledge of these things. Sorry 8-(
Ah, OK, sorry to hear it doesn't work. It's strange, it shouldn't be attempting to use https (though for security reasons it should so I assume Ive been testing against outdated browsers). Sorry.