zhoumo310 當(dāng)前離線
中級(jí)會(huì)員
memory_limit 為200M,post_max_size = 150M,upload_max_filesize = 100M,max_execution_time為600秒,但是上傳了一個(gè)10來M的壓縮包仍然提示Server (IO) Error。后來在這個(gè)站點(diǎn)對(duì)應(yīng)的nginx.conf文件中,增加了一行client_max_body_size 100m;,如下:
server { listen 80; server_name xxx.com www.xxx.com ; root /www/web/y/xxx/public_html; index index.html index.php index.htm; error_page 400 /errpage/400.html; error_page 403 /errpage/403.html; error_page 404 /errpage/404.html; location ~ \.php$ { proxy_pass http://127.0.0.1:88; include naproxy.conf; client_max_body_size 100m; } location / { try_files $uri @apache; } location @apache { proxy_pass http://127.0.0.1:88; include naproxy.conf; } }
問題解決。
[我的Linux,讓Linux更易用] ( 粵ICP備12090362號(hào)-1)|聯(lián)系我們 |Archiver|WAP
GMT+8, 2025-4-3 06:16, Processed in 0.013265 second(s), 5 queries.
Powered by Discuz! 7.2
© 2001-2009 Comsenz Inc.