mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 00:16:37 +08:00
docs: update README
This commit is contained in:
parent
2779d6629c
commit
481ba41fbd
@ -93,13 +93,10 @@ server{
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_cache_bypass $http_upgrade;
|
proxy_cache_bypass $http_upgrade;
|
||||||
proxy_set_header Accept-Encoding gzip;
|
proxy_set_header Accept-Encoding gzip;
|
||||||
proxy_buffering off; # 重要:关闭代理缓冲
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
注意,为了 SSE 正常工作,需要关闭 Nginx 的代理缓冲。
|
|
||||||
|
|
||||||
之后使用 Let's Encrypt 的 certbot 配置 HTTPS:
|
之后使用 Let's Encrypt 的 certbot 配置 HTTPS:
|
||||||
```bash
|
```bash
|
||||||
# Ubuntu 安装 certbot:
|
# Ubuntu 安装 certbot:
|
||||||
|
Loading…
Reference in New Issue
Block a user