Hello!
I recently turned up a Lemmy server but it appears there’s an issue communicating with other servers. Curling activity json is working for local users, communities, and posts. Does anyone see anything off? Trying to see a user or community apart of another server results in a 404 and vise versa.

https://Lemmy.kutara.io

For example viewing this community from my server results in a 404

https://lemmy.kutara.io/c/[email protected]

Viewing my account from this server results in 404 as well

https://sh.itjust.works/u/[email protected]

EDIT: Thanks for all the help! My solution was here https://sh.itjust.works/comment/113460

  • @[email protected]
    link
    fedilink
    English
    11 year ago

    If you use Nginx proxy manager this is what fixed my federation issues:

    location / {
          # The default ports:
          # lemmy_ui_port: 1235(not used here)
          # lemmy_port: 8536
    	  # The cooler port:
    	  # lemmy_ui_port: 1236
    
          set $proxpass "http://172.16.7.20:1236";
          if ($http_accept ~ "^application/.*$") {
            set $proxpass "http://172.16.7.20:8536";
          }
          if ($request_method = POST) {
            set $proxpass "http://172.16.7.20:8536";
          }
          proxy_pass $proxpass;
    
          rewrite ^(.+)/+$ $1 permanent;
    
          # Send actual client IP upstream
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header Host $host;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }