this post was submitted on 12 Jun 2023
1 points (100.0% liked)

chat

1 readers
1 users here now

a place for general chat and ask questions about lemmyfly

founded 1 year ago
MODERATORS
 

thanks to @[email protected] for noticing www.lemmyfly.org was not secured and not pointing to the lemmy instance.

Checking the lemmy ansible files I saw your nginx configuration file is located in /etc/nginx/sites-available/[sitename].conf

To add a redirect for your www.[sitename, add: (lemmyfly.org example)

server {
  server_name www.lemmyfly.org;
  return 301 $scheme://lemmyfly.org$request_uri;
}

check your config with sudo nginx -t

restart nginx: sudo systemctl restart nginx

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here