Take a look at the config from docker (https://github.com/LemmyNet/lemmy/blob/main/docker/nginx.conf). It proxies to either the frontend or the server based on the request headers/method/path etc.
this post was submitted on 25 Jun 2023
4 points (100.0% liked)
Lemmy Support
4652 readers
1 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
Something similar to this is how I ended up getting the UI to show, I'm now having another issue but I believe its due to a version mismatch between the backend and UI, as well that I only did /api
lets see if this will show up