Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymous committed Mar 21, 2024
1 parent 6c4110f commit 3148c09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server {
listen [::]:80;
server_name localhost;

client_max_body_size 50M; //文件大小限制,默认1m
client_max_body_size 50M;
client_header_timeout 1m;
client_body_timeout 1m;
proxy_connect_timeout 60s;
Expand Down
4 changes: 2 additions & 2 deletions docker/pc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ server {
root /var/www/pc;
index index.html index.htm;

client_max_body_size 50M; //文件大小限制,默认1m
client_max_body_size 50M;
client_header_timeout 1m;
client_body_timeout 1m;
proxy_connect_timeout 60s;
Expand All @@ -26,4 +26,4 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}

0 comments on commit 3148c09

Please sign in to comment.