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
(seafile.xxxxx.xxx/seafhttp/files/e0c4f271-a543-4c2b-9b29-d8828e378d18/seafile-tutorial.doc)
and my nginx config is
server {
listen 5500;
server_name seafile.xxxxx.xxx;
proxy_set_header X-Forwarded-For $remote_addr;
location / {
proxy_pass http://127.0.0.1:8000;
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;
proxy_pass http://127.0.0.1:8082;
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