Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Sep 13, 2020
1 parent cfc2c3d commit e100fa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ java -jar app-XXXXX.jar

+ 0.43版本把Web和PC登录的短轮询改为长轮询,如果应用服务升级需要对Web和PC进行对应修改。

+ 0.45.1 配置文件中添加了```wfc.all_client_support_ssl```开关,当升级到这个版本或之后时,需要配置文件中添加这个开关。

#### 注意事项
服务中对同一个IP的请求会有限频,默认是一个ip一小时可以请求200次,可以根据您的实际情况调整(搜索rateLimiter字符串就能找到)。如果使用了nginx做反向代理需要注意把用户真实ip传递过去(使用X-Real-IP或X-Forwarded-For),避免获取不到真实ip从而影响正常使用。

Expand Down
2 changes: 1 addition & 1 deletion config/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ logs.user_logs_path=/Users/imhao/wildfire_user_logs/
# amr转mp3缓存目录,本目录会存储转换后的mp3文件,可以定时清理
wfc.audio.cache.dir=/data/wfc/audio/cache

# 是否支持SSL,如果所有客户端调用appserver支持https,请把下面开关设置为true,否则为false。
# 是否支持SSL,如果所有客户端调用appserver都支持https,请把下面开关设置为true,否则为false。
# 如果为false,在Web端和wx端的appserve的群公告等功能将不可用。
wfc.all_client_support_ssl=false

0 comments on commit e100fa4

Please sign in to comment.