docker-filezilla icon indicating copy to clipboard operation
docker-filezilla copied to clipboard

Reverse Proxy not working

Open maczkus opened this issue 5 years ago • 1 comments

Hi,

I've setup the reverse proxy on nginx as suggested in the docs and I end up with page loaded but the spinning wheel in the left corner is loading and loading. After few minutes it turns to X with error: Server disconnected 1006.

Can you please check if it works? Or provide more detailed config?

Here is my proxy config:

host (synology nas): 192.168.88.121 mapped port: 6800 proxy port: 5880 (I redirect to this port in rev proxy setup)

map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
}

upstream docker-filezilla {
        # If the reverse proxy server is not running on the same machine as the
        # Docker container, use the IP of the Docker host here.
        # Make sure to adjust the port according to how port 5800 of the
        # container has been mapped on the host.
        server 192.168.88.121:6800;
}

server {
        listen 5880;

        server_name filezilla.home;

        location / {
                proxy_pass http://docker-filezilla;
        }

        location /websockify {
                proxy_pass http://docker-filezilla;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection $connection_upgrade;
                proxy_read_timeout 86400;
        }
}

Thank you! Kris

maczkus avatar Jan 24 '20 06:01 maczkus

I guess that access http://192.168.88.121:6800 directly works?

jlesage avatar Jan 25 '20 00:01 jlesage

Closing this issue. Please re-open if needed.

jlesage avatar Oct 24 '22 21:10 jlesage