this post was submitted on 27 Jun 2023
2 points (100.0% liked)
Lemmy Support
4660 readers
18 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
I think there has been some issues with the docs and maybe the config files in the repo for nginx / reverse proxy. It’s definitely a key part that some paths go to the UI and some to the backend. It sounds like your sending a request meant for the ui to the backend.
Where can I find a (hopefully) working nginx config? I got mine from wherever the doc told me to, which considering it was recommending 0.16.7 for the ui might be out of date.
Looks like the latest from the ansible repo is basically the same as the one I have, minus replacing the {{variable name}} things. So perhaps I have the environment variables wrong somehow? Here are the relevant environment variables:
Environment=LEMMY_UI_LEMMY_INTERNAL_HOST=127.0.0.1:8536
Environment=LEMMY_UI_HOST=127.0.0.1:1234
-Michael.