diff --git a/docker/nginx.conf.template b/docker/nginx.conf.template index b15913d..09471e5 100644 --- a/docker/nginx.conf.template +++ b/docker/nginx.conf.template @@ -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; diff --git a/docker/pc.conf b/docker/pc.conf index 5fc70af..9444a05 100644 --- a/docker/pc.conf +++ b/docker/pc.conf @@ -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; @@ -26,4 +26,4 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } -} \ No newline at end of file +}