Centos7 安装包安装的 seafile8 ,使用nginx配置的sll,在网页端登录、上传、下载都是没问题的,但是挂载到Windows10后,只能上传小的文件,遇到大约大于30MB的文件后就会出现错误。有坛友遇到过这问题吗? 求救。。。。
nginx配置:
server {
listen 80;
listen 443 ssl;
server_name pan.nbxf.xyz;
ssl_certificate ssl/7408773_pan.nbxf.xyz.pem;
ssl_certificate_key ssl/7408773_pan.nbxf.xyz.key;
location / {
proxy_pass http://127.0.0.1:8000;
index index.html index.htm index.jsp;
}
}
server {
listen 4431 ssl;
server_name pan.nbxf.xyz;
ssl_certificate ssl/7408773_pan.nbxf.xyz.pem;
ssl_certificate_key ssl/7408773_pan.nbxf.xyz.key;
location / {
proxy_pass http://127.0.0.1:8082;
index index.html index.htm index.jsp;
}
}
server {
listen 4432 ssl;
server_name pan.nbxf.xyz;
ssl_certificate ssl/7408773_pan.nbxf.xyz.pem;
ssl_certificate_key ssl/7408773_pan.nbxf.xyz.key;
location / {
proxy_pass http://127.0.0.1:8081;
index index.html index.htm index.jsp;
}
location /seafdav {
proxy_pass http://127.0.0.1:8081/seafdav;
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_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 1200s;
client_max_body_size 0;
#access_log /var/log/nginx/seafdav.access.log seafileformat;
#error_log /var/log/nginx/seafdav.error.log;
}
location /:dir_browser {
proxy_pass http://127.0.0.1:8081/:dir_browser;
}
}
CCNET配置:
[General]
SERVICE_URL = http://192.168.9.138/
[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = seafile
PASSWD = P@ssw0rd.!q
DB = ccnet-db
CONNECTION_CHARSET = utf8
seafdav配置:
[WEBDAV]
# Default is false. Change it to true to enable SeafDAV server.
enabled = true
port = 8081
#
# # If you deploy seafdav behind nginx/apache, you need to modify "share_name".
#
share_name = /
seafileconf配置:
[fileserver]
port = 8082
max_upload_size=20000
max_download_dir_size=20000
max_indexing_threads = 10
#Set block size to 2MB
fixed_block_size=2
#Set uploading time limit to 3600s
web_token_expire_time=3600
[zip]
# The file name encoding of the downloaded zip file.
windows_encoding = iso-8859-1
[database]
type = mysql
host = 127.0.0.1
port = 3306
user = seafile
password = P@ssw0rd.!q
db_name = seafile-db
connection_charset = utf8
# Use larger connection pool
max_connections = 2000