this post was submitted on 10 Jun 2023
4 points (100.0% liked)
Lemmy Support
4652 readers
1 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
After some digging, I found the nginx config in the lemmy-ansible file structure: templates > nginx.config
However, this is highly abstracted because it's part of the Ansible install. I'm pretty sure I shouldn't edit it.
One possible clue - so far, I've been enabling federation from the UI. There's a bit in the configuration documentation that says that the lemmy.jhson needs to be updated with a federation block: https://join-lemmy.org/docs/en/administration/configuration.html
I don't have this file in the lemmy-ansible directory.
I also tried troubleshooting the federation setup again after reinstalling the instance from scratch.
All four CURL commands now return proper JSON:
Would this be a better question for the Ansible Github?
Weirdly enough, it works correctly after a reinstall. Here's what I did, if it helps anyone:
I'm hesitant about a solution that involves reinstalling, but I'm new enough at managing virtual environments that I'm not going to look a gift horse in the mouth.