overby to Lemmy.World Announcements • 1 year agolemmy.world should redirect to https (secure) sitemessage-square16arrow-up128arrow-down10file-text
arrow-up128arrow-down1message-squarelemmy.world should redirect to https (secure) siteoverby to Lemmy.World Announcements • 1 year agomessage-square16file-text
When you visit http://lemmy.world it should redirect to https://lemmy.world - at least the login page should be secure.
minus-squareSlashzerolink1•edit-21 year agoYou might want to add the secure port (:443) in your redirect. Otherwise it might be trying to load https on port 80 still, which can’t work. http: port 80 https: port 443 Notes: just a guess. I haven’t looked at an nginx config in a while make sure to try on multiple browsers as they all don’t behave the same way
minus-squareRuudMAlink1•1 year agoThis piece I’ve pasted above isn’t the whole nginx.conf, there’s also a large block for the 443 traffic. It’s just the http traffic that I need to redirect to 443.
minus-squareSlashzerolink1•1 year agoOk. Now that I think about it, you shouldn’t have to specify the port.
You might want to add the secure port (:443) in your redirect. Otherwise it might be trying to load https on port 80 still, which can’t work.
Notes:
This piece I’ve pasted above isn’t the whole nginx.conf, there’s also a large block for the 443 traffic. It’s just the http traffic that I need to redirect to 443.
Ok. Now that I think about it, you shouldn’t have to specify the port.