overby@lemmy.world to Lemmy.World Announcements@lemmy.world · 1 year agolemmy.world should redirect to https (secure) sitemessage-squaremessage-square21fedilinkarrow-up128arrow-down10file-text
arrow-up128arrow-down1message-squarelemmy.world should redirect to https (secure) siteoverby@lemmy.world to Lemmy.World Announcements@lemmy.world · 1 year agomessage-square21fedilinkfile-text
When you visit http://lemmy.world it should redirect to https://lemmy.world - at least the login page should be secure.
minus-squareSlashzero@lemmy.worldlinkfedilinkarrow-up1·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-squareRuud@lemmy.worldMlinkfedilinkarrow-up1·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-squareSlashzero@lemmy.worldlinkfedilinkarrow-up1·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.