With a new release 0.9.0, arm build is finally available. It is not a big deal to properly install it following instructions, but problem is with exposing your instance to the internet, bc of 2 open ports requirement (1235 for ui and 8536 for a server). I have tried to use tunneling services like ngrok and pagekite to expose localhost on 1235 port, but in this case I got access to ui only without ability to execute any action.
Have you managed to successfully expose your instance? How?

  • @nutomicA
    link
    63 years ago

    The ports 1235 and 8536 are only internal, and shouldnt be exposed to the internet. The easiest solution for you is probably to run nginx on the raspi as normal, and forward the requests to port 443 (so nginx sends the requests to frontend and backend as needed). But I’m not sure how these tunneling services work, and where you are going to handle SSL.

    • @tracyspcyOP
      link
      33 years ago

      with rocket.chat for ex when you run an instance, it is available through localhost:3000. To expose it you use port 3000 with tunneling service like ngrok (./ngrok http 3000). So it looked logical to reproduce such approach :)

      • @nutomicA
        link
        43 years ago

        Lemmy consists of a couple different services, thats why its a bit more complicated 😃

      • DessalinesA
        link
        23 years ago

        I think the setup instructions should be exactly the same for a raspberry pi, since it can run both nginx and docker.

        • @tracyspcyOP
          link
          23 years ago

          ok, I set nginx up based on your instructions and connected tunneling for 443 port. with default nginx lemmy.conf it gets 400 Bad Request The plain HTTP request was sent to HTTPS port. But if replace server { listen 433 ssl http2; ... } with server { listen 433 ; ... } it works smoothly without any error. Any suggestions? Maybe there is a need to add force redirect to https on 433 in lemmy.conf?

          • @nutomicA
            link
            33 years ago

            If you handle SSL elsewhere, then you can remove anything related to SSL from the nginx config (and also the first server block which redirects from http to https).

          • DessalinesA
            link
            13 years ago

            I’m not sure why not having ssl or http2 in there would fix it… you’d have to send me your whole nginx for me to see what’s wrong.

            • @tracyspcyOP
              link
              23 years ago

              I have manged to expose it with ssl http2 in nginx, problem was in my tunneling setup, which I have fixed.