mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-09-05 23:56:59 +08:00
Merge pull request #108 from JefferyHcool/feature/kuaishou
feat(nginx): 调整客户端请求体大小限制
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
client_max_body_size 10G;
|
||||||
|
client_body_buffer_size 128k;
|
||||||
# 所有非 /api 请求全部代理给 frontend 容器
|
# 所有非 /api 请求全部代理给 frontend 容器
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://frontend:80;
|
proxy_pass http://frontend:80;
|
||||||
|
|||||||
Reference in New Issue
Block a user