当前位置:论坛首页 > Linux面板 > 求助

nextcloud 安全及设置警告

发表在 Linux面板2017-8-1 07:30 [复制链接] 2 7311

本帖最后由 Gabriel 于 2017-8-1 07:31 编辑

BT环境下安装nextcloud会提示如下警告
请问如何修复?


安全及设置警告

对您的服务器的安全性和性能来说,一切都配置正确很重要。 为了帮助您,我们正在做一些自动检查。 有关详细信息,请参阅提示和窍门部分和文档。

PHP 模块 'fileinfo' 缺失. 我们强烈建议启用此模块以便在 MIME 类型检测时获得最准确的结果.
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)
Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. It is strongly recommended that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.
You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
The PHP Opcache is not properly configured. For better performance we recommend ↗ to use following settings in the php.ini:
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
请再次检查 安装指南 ↗, 并检查 日志 中的任何错误或警告.

举报 只看该作者 回复
发表于 2017-8-1 09:28:27 | 显示全部楼层
让你安装这两个扩展 并建议站点开启ssl
QQ图片20170801092343.png

同时修改php配置文件
QQ图片20170801092523.png
将红框内内容替换成
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
举报 回复 支持 反对
发表于 2017-8-2 22:01:15 | 显示全部楼层
河妖 发表于 2017-8-1 09:28
让你安装这两个扩展 并建议站点开启ssl

我开通了memcache,并在nextcloud的设置中开通了设置,但是nextcloud直接就503错误了,尝试了很多中设置都还是503,而以禁止nextcloud设置文件中的内容,nextcloud就可以访问了。。。
举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表