我刚刚在Docker中运行了SeaFile,扫描了我可以看到的SSLv3和TLS1.0的公共接口。我想禁用他们,但我不知道在这个设置中将在哪里配置。
我用
docker run -d --name seafile \
-e SEAFILE_SERVER_LETSENCRYPT=true \
-e SEAFILE_SERVER_HOSTNAME=seafile.example.com \
-e SEAFILE_ADMIN_EMAIL=me@example.com \
-e SEAFILE_ADMIN_PASSWORD=a_very_secret_password \
-v /opt/seafile-data:/shared \
-p 8080:80 \
-p 8443:443 \
seafileltd/seafile:latest它作为for服务器运行nginx,我在docker合并文件夹中有nginx配置,有效地/etc/nginx,但是我在任何地方都找不到配置可用密码的选项。
grep -i -r "ssl_protocols" /etc/nginx/返回的结果为零,在对谷歌的结果和文档进行了大量的挖掘之后,我不再前进了。
有什么想法吗?
发布于 2019-06-12 09:55:39
将下列行添加到映像中的seafile.nginx.conf.template文件中,并重新启动
已添加
ssl_protocols TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;到紧接conf文件中的ssl_ciphers行之前的服务器块。
您可以通过以下方法找到conf模板的路径
/var/lib/docker/>find ./ | grep seafile.nginx.conf.templatehttps://serverfault.com/questions/970574
复制相似问题