主题
常见问题
登录报错 NOAUTH Authentication required
安装成功,登录时报错如下:
出现这个问题的原因是 Redis 服务器设置了密码认证,软件在连接 Redis 服务器时由于没有设置正确的认证密码导致报错。
IMPORTANT
请修改 config.yml 设置正确的 Redis 密码。
怎么配置 Nginx 代理
配置 nginx 代理需要开启 websocket 支持,配置示例如下:
nginx
location / {
proxy_pass http://192.13.0.7:8000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # 客户端 ip
proxy_set_header Host $host; # $host 为服务器域名
client_max_body_size 100m; # 允许最大文件上传大小
}