diff --git a/docs/en-US/welcome/release/v14-changelog.md b/docs/en-US/welcome/release/v14-changelog.md index 7adb8017d..a81dcac9c 100644 --- a/docs/en-US/welcome/release/v14-changelog.md +++ b/docs/en-US/welcome/release/v14-changelog.md @@ -54,6 +54,29 @@ pm add /a/plugin.zip pm add http://url/plugin.zip ``` +### Nginx configuration changes + +Add `/static/plugins/` location + +```conf +server { + location ^~ /static/plugins/ { + proxy_pass http://127.0.0.1:13000/static/plugins/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection 'upgrade'; + proxy_set_header Host $host; + proxy_cache_bypass $http_upgrade; + proxy_connect_timeout 600; + proxy_send_timeout 600; + proxy_read_timeout 600; + send_timeout 600; + } +} +``` + +More see full version of [nocobase.conf](https://github.com/nocobase/nocobase/blob/main/docker/nocobase/nocobase.conf) + ## Plugin development guide [Develop the first plugin](/development/your-fisrt-plugin) diff --git a/docs/zh-CN/welcome/release/v14-changelog.md b/docs/zh-CN/welcome/release/v14-changelog.md index 6f130780c..a0ea5783b 100644 --- a/docs/zh-CN/welcome/release/v14-changelog.md +++ b/docs/zh-CN/welcome/release/v14-changelog.md @@ -96,6 +96,29 @@ pm add /a/plugin.zip pm add http://url/plugin.zip ``` +### Nginx 配置的变化 + +新增 `/static/plugins/` location + +```conf +server { + location ^~ /static/plugins/ { + proxy_pass http://127.0.0.1:13000/static/plugins/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection 'upgrade'; + proxy_set_header Host $host; + proxy_cache_bypass $http_upgrade; + proxy_connect_timeout 600; + proxy_send_timeout 600; + proxy_read_timeout 600; + send_timeout 600; + } +} +``` + +更多查看完整版的 [nocobase.conf](https://github.com/nocobase/nocobase/blob/main/docker/nocobase/nocobase.conf) + ## 插件开发指南 [编写第一个插件](/development/your-fisrt-plugin)