diff --git a/docs/en/workshop/production/proxy-and-ssl.md b/docs/en/workshop/production/proxy-and-ssl.md index 2b68617ce..8d40a0652 100644 --- a/docs/en/workshop/production/proxy-and-ssl.md +++ b/docs/en/workshop/production/proxy-and-ssl.md @@ -59,10 +59,12 @@ sudo apt install certbot python3-certbot-nginx sudo certbot --nginx ``` -Follow the prompts to enter your domain name, and certificate application and NGINX configuration will be completed automatically. If you need to configure manually, you can refer to the following content. +Follow the prompts to enter your domain name, and certificate application and NGINX configuration will be completed automatically. Please refer to the following content to complete the NGINX configuration. ### Configure NGINX Reverse Proxy +LangBot's pipeline debugging feature requires using WebSocket connections, so NGINX needs to be configured to support WebSocket. + Edit the NGINX configuration file `/etc/nginx/sites-available/langbot` (you can use vim or nano editor): ```nginx diff --git a/docs/zh/workshop/production/proxy-and-ssl.md b/docs/zh/workshop/production/proxy-and-ssl.md index 94e31c1af..8756a1e85 100644 --- a/docs/zh/workshop/production/proxy-and-ssl.md +++ b/docs/zh/workshop/production/proxy-and-ssl.md @@ -59,10 +59,12 @@ sudo apt install certbot python3-certbot-nginx sudo certbot --nginx ``` -按照提示输入域名,证书申请与 NGINX 配置会自动完成。如果需要手动配置,可参考以下内容。 +按照提示输入域名,证书申请与 NGINX 配置会自动完成。请参考如下内容完成 NGINX 配置。 ### 配置 NGINX 反向代理 +LangBot 的流水线调试功能需要使用 WebSocket 连接,因此需要配置 NGINX 支持 WebSocket。 + 编辑 NGINX 配置文件 `/etc/nginx/sites-available/langbot`(可以使用 vim 或 nano 编辑器): ```nginx