simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.2k stars 36 forks source link

Unable to load photos with Nginx Reverse Proxy #228

Closed alansw84 closed 2 months ago

alansw84 commented 2 months ago

Hi Developers,

I'm having issue with the web browsing once i have go through nginx reverse proxy. It can load the photos at first, once scroll down further, then it wil become Failed to load assets. image

I have enabled the web socket, but seems still have this issue.

    location / {
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_pass http://x.x.x.x:2283;
            proxy_set_header  X-Forwarded-For   $proxy_add_x_forwarded_for;
            proxy_set_header  X-Forwarded-Proto $scheme;

            # enable websockets: http://nginx.org/en/docs/http/websocket.html
            proxy_http_version 1.1;
            proxy_set_header   Upgrade    $http_upgrade;
            proxy_set_header   Connection "upgrade";

            proxy_read_timeout 600s;
            proxy_send_timeout 600s;
            send_timeout       600s;
    }
simulot commented 2 months ago

The screen shots depict the situation when uploading photo in the web APP. You should contact the immich team via discord.

alansw84 commented 2 months ago

Opps, sorry. Messed up the site