Hello, I am trying to setup lemmy instance with containers images, but I am facing hard to debug issues that I am unable to find a solution for, even when finding some “solved” github issue with matching description. My setup is based on official docker-compose setup (can explain more if needed):
- I use podman and scripts with
podman run
instead of docker-compose, so it matches rest of my cloud setup - my containers have --network=host and they communicate over localhost interface
- for initial setup I tried using nginx with official “internal” config, but listening on port 8537 instead of 8536, because of network=host
Errors/problems:
- when trying to put an apache with TLS termination and simple proxy to “internal” nginx then on initial setup I am getting HTTP 200 on setting up admin account and then interface switches to the initial settings page. As response there is json with jwt token and parameters
"registration_created":false,"verify_email_sent":false
. Further actions are failing with{"error":"not_logged_in"}
on front, andWARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: not_logged_in: not_logged_in
on backend - I was also trying to setupit by connecting directly to the “internal” nginx, but then I am getting error
Origin is not allowed to make this request
even after switching parameters for localhost usage (but phisically it is a bit more complicated, because i forward port through SSH)
Questions:
- Is there any known working setup for apache? I am not really willing to switch to nginx all my cloud for single app
- How to allow all origins temporarily or do something similar?
I know that my setup is unusual, and not supported, but I managed to run like that many things, and here I am blocked by something that I cannot even find docs on how to configure it like with the allowed origin stuff.
You must log in or register to comment.