各种网盘安装使用的出坑记录

一、nextcloud

1.1输入账号和密码,页面加载完成以后,登录按钮一直在加载,查看console控制台,Refused to send form data to 'https://demo.com/login' because it violates the following Content Security Policy directive: "form-action 'self'

解决:在config/config.php文件中添加'overwriteprotocol' => 'https',

参考:https://crossrt.me/fix-nextcloud-login-form-content-security-policy-issue/

三、dzzoffice

3.1 安装以后,内网HTTP,外网无法强制跳转至HTTPS,造成大量非HTTPS的JS无法加载,登录页面没有登录框。

解决:nginx的proxy.conf文件中,配置项 proxy_set_header Host $host:$server_port;加上端口号

参考:https://github.com/zyx0814/dzzoffice/issues/82

 

posted on 2022-05-11 11:26  dudumao  阅读(281)  评论(0编辑  收藏  举报

导航

阿里云