seadoc安装在seafile(docker)同一主机上按照服务器手册上开启ssl更改nginx.conf文件配置没用。在另一个服务器上80/443端口更改配置后ssl可以正常开启
server {
listen 80;
server_name example.seafile.com default_server;#已改
location / {
rewrite ^ https://$host$request_uri? permanent;#已改
}
}
server {
listen 443 ssl;
ssl_certificate /shared/ssl/your-ssl-crt.crt; #已改
ssl_certificate_key /shared/ssl/your-ssl-key.key;#已改
有没有佬说一下还需要改哪里