• 25 Posts
  • 784 Comments
Joined 3 years ago
cake
Cake day: November 8th, 2021

help-circle















  • Yes that was the lead.

    The response to POST was a 502 bad gateway

    This lead me to /etc/nginx/sites-available/lemmy.example.ca which has the wrong address, localhost instead of docker network

    specifically proxy_pass http://172.21.0.5:8536/; was pointing to 127.0.0.1

        location ~ ^/(api|pictrs|feeds|nodeinfo|.well-known|version|sitemap.xml) {
          proxy_pass http://172.21.0.5:8536/;
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "upgrade";
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header Host $host;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }