Cannot download or upload file

hello, everyone

I can open my cloud website and log in, but cannot download or upload file, access denied.
it seems seafhttp does not allowed me to do it when I look at the link

and my nginx config is
server {
listen 5500;

    proxy_set_header X-Forwarded-For $remote_addr;

    location / {
            proxy_pass    ;
            proxy_set_header        Host $host;
            proxy_set_header        X-Real-IP $remote_addr;
            proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header        X-Forwarded-Host $server_name;
            proxy_read_timeout      1200s;

            #used for view/edit
            client_max_body_size 0;

            access_log      /var/log/nginx/seahub.access.log;
            error_log       /var/log/nginx/seahub.error.log;

    location /seafhttp {
            rewrite ^/seafhttp(.*)$ $1 break;
            client_max_body_size 0;

            proxy_connect_timeout 36000s;
            proxy_read_timeout 36000s;
            proxy_send_timeout 36000s;

            send_timeout 3600s;

            proxy_request_buffering off;


    location /media {
            root /opt/seafile/seafile-server-latest/seahub;

can anyone help me out?

thank you

Your webserver only listens on port 5500.

The request comes in on port 80/443 though.

1 Like