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

哈哈哈哈哈

你可能感兴趣的:(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.)