修改nginx上传文件限制为50MB
This commit is contained in:
@@ -287,6 +287,9 @@ server {
|
|||||||
access_log /var/log/nginx/tgoim_access.log;
|
access_log /var/log/nginx/tgoim_access.log;
|
||||||
error_log /var/log/nginx/tgoim_error.log;
|
error_log /var/log/nginx/tgoim_error.log;
|
||||||
|
|
||||||
|
# 允许上传的最大文件大小(产品图片、视频等)
|
||||||
|
client_max_body_size 50M;
|
||||||
|
|
||||||
# Gzip 压缩
|
# Gzip 压缩
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
|
|||||||
Reference in New Issue
Block a user