Internal Server Error


#1

操作系统版本:Ubuntu 18.04 x86-64,seafile-server-7.1.4
seafile.sh,seahub.sh 启动正常,web访问提示Internal Server Error
/nginx/sites-available/seafile.conf 配置如下
server {

listen 80;

server_name 5.77.1.229;


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 office file via Office Online Server

     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_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_connect_timeout  36000s;

    proxy_read_timeout  36000s;

    proxy_send_timeout  36000s;

    send_timeout  36000s;

}

location /media {

    root /opt/seafile/seafile-server-latest/seahub;

}

ccnet.conf 配置如下
[General]
SERVICE_URL = http://5.77.1.229

[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = seafile
PASSWD = 123456
DB = ccnet-db
CONNECTION_CHARSET = utf8

求解答