Skip to content

Commit a41b2b4

Browse files
RiderLtyclaude
andcommitted
feat: 增大nginx响应缓冲区至64m,同步README配置示例
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 86290c6 commit a41b2b4

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

README.MD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ server {
140140
gzip_comp_level 1;
141141
gzip_types text/x-ssa;
142142
proxy_buffer_size 64m;
143+
proxy_buffers 64 64m;
144+
proxy_busy_buffers_size 64m;
143145
location ~ /(socket|embywebsocket) {
144146
proxy_pass $EMBY_SERVER_URL;
145147
proxy_http_version 1.1;
@@ -163,6 +165,11 @@ server {
163165
#修改为你的fontinass服务器地址
164166
proxy_pass http://127.0.0.1:8011;
165167
}
168+
169+
location ~* /v/api/v1/subtitle/dl/(.*) {
170+
#修改为你的fontinass服务器地址
171+
proxy_pass http://127.0.0.1:8011;
172+
}
166173
167174
location ~* /web/bower_components/(.*)/subtitles-octopus.js {
168175
#修改为你的fontinass服务器地址

nginx/conf.d/emby.conf.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ server {
66
gzip_comp_level $NGINX_GZIP_COMP_LEVEL;
77
gzip_types text/x-ssa;
88
proxy_buffer_size 64m;
9+
proxy_buffers 64 64m;
10+
proxy_busy_buffers_size 64m;
911

1012
location ~ /(socket|embywebsocket) {
1113
proxy_pass $EMBY_SERVER_URL;

0 commit comments

Comments
 (0)