Authored by chunhua.zhang

add comments for wechat cert sync

---
# switch java inner upstream to aws
# sync wechat cert.
# local cert dir: ~/.cert/wechatpay
- hosts: java-order, java-ufo-fore, java-extendstore
... ...
... ... @@ -51,6 +51,8 @@ git push
|yoho.dns.mysql_read_to_master| MySQL数据库读切换到主库。Note: 切换后需要reload cobar|
|java-rsyslog| 同步java服务的rsyslog客户端配置|
|java.inner.switch| 修改`api.yoho.cn` 流量部分到`aws`|
|wechat.cert.sync| 同步微信支付证书|
## `hashicorp vault` 配置
> Why: credentials 信息统一管理
... ...
... ... @@ -157,7 +157,7 @@ function forbid_ua()
local ua = http_request.get_ua()
for i = 1, #forbid_ua_table do
if ua and string.find(ua, forbid_ua_table[i]) then
ngx.log(ngx.ERR, "[User-Agent Not Allowed]", ua)
ngx.log(ngx.ERR, "[User-Agent Not Allowed]: ", ua)
ngx.exit(ngx.HTTP_OK)
end
end
... ...