From 60b2d30f422ec68dac90dff0ad5ec3306edff12a Mon Sep 17 00:00:00 2001 From: HankunYu Date: Wed, 13 Mar 2024 18:54:55 +0000 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加使用反代的描述,解决使用https反代时日志加载时间过长(十几分钟)不可用的问题。 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8eb31f99..2789fa9b 100644 --- a/README.md +++ b/README.md @@ -219,6 +219,14 @@ location / { proxy_set_header X-Forwarded-Proto $scheme; } ``` +- 反代使用ssl时,需要开启`http2`,否则会导致日志加载时间过长或不可用。以`Nginx`为例: +```nginx configuration +server{ + listen 443 ssl; + http2 on; + ... +} +``` - 新建的企业微信应用需要固定公网IP的代理才能收到消息,代理添加以下代码: ```nginx configuration location /cgi-bin/gettoken {