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

Selfhosted

40183 readers
832 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmyfly.org/post/2382

thanks to @Hopfgeist@feddit.de 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

you are viewing a single comment's thread
view the rest of the comments
[–] ptz@dubvee.org 3 points 1 year ago* (last edited 1 year ago)

Not as brutal as calling customer service for something and having their hold announcements read their website address to you on a loop:

"For faster service, please visit our website at double-you double-you double-you dot blah blah dot com. Again, that's double-you double-you double-you dot blah blah dot com."

And if you go to that address, it redirects you without the "www". :facepalm:

Worst part is that if I could have solved the problem through the website, I would have. Calling support is like a last measure of resolution.