0

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

top 3 comments
sorted by: hot top controversial new old
[-] ruud@lemmy.world 1 points 1 year ago

Hmm , when I replace this:

http {
  server {
    listen 80;
    server_name lemmy.world;

    location / {
        proxy_pass http://lemmy-ui:1234;
        proxy_set_header Host $host;
    }
}

with this:

http {
  server {
    listen 80;
    server_name lemmy.world;

    location / {
        return 301 https://$host$request_uri;
    }
}

it breaks, gives 502 when visiting the site...

ideas? (I'm not that much into nginx...)

[-] Tom@lemmy.world 2 points 1 year ago

Can we get an error log? If no, are you seeing any timeouts in there?

[-] ruud@lemmy.world 1 points 1 year ago

I think I now fixed it

this post was submitted on 09 Jun 2023
0 points (NaN% liked)

Lemmy.World Announcements

29057 readers
1 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 info@lemmy.world 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