The "X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN". This is a potential security or privacy risk and we recommend adjusting this setting.

这是nextcloud设置里的警告问题


ubuntu下首先打开

$ sudo vim /var/www/nextcloud/.htaccess

合适的地方添加一句

Header set X-Frame-Options: "SAMEORIGIN"

:wq 保存

然后重启服务:

$ sudo systemctl restart php7.0-fpm

$ sudo systemctl restart nginx

再查看就发现OK了


这并没解决这个问题,倒是解决了第一个问题

The test with getenv(“PATH”) only returns an empty response

哈哈哈哈哈

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容