this post was submitted on 09 Jun 2023
28 points (100.0% liked)

Lemmy.World Announcements

29026 readers
6 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to [email protected] e-mail.

Report contact

Donations 💗

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 1 year ago
MODERATORS
 

When you visit http://lemmy.world it should redirect to https://lemmy.world - at least the login page should be secure.

you are viewing a single comment's thread
view the rest of the comments
[–] slashzero 1 points 1 year ago* (last edited 1 year ago) (1 children)

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.

  • 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
[–] ruud 1 points 1 year ago (1 children)

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.

[–] slashzero 1 points 1 year ago

Ok. Now that I think about it, you shouldn’t have to specify the port.