使用道具 举报
爱洞特漏 发表于 2011-6-28 01:18 将/usr/local/nginx/conf/proxy_pass.conf的第13行和第14行前面加个#注释掉
您填写的内容有错,错误信息 nginx: [emerg] "client_header_buffer_size" directive is not allowed here in /usr/local/nginx/conf/proxy_pass.conf:13nginx: configuration file /usr/local/nginx/conf/vhost.test.conf test failed
proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Accept-Encoding ''; proxy_next_upstream error timeout invalid_header http_500 http_503 http_404; proxy_cache_valid 200 404 304 1m; proxy_cache_key "$host$uri$is_args$args"; client_max_body_size 512m; client_body_buffer_size 256k; client_header_buffer_size 256k; large_client_header_buffers 4 256k; #proxy_connect_timeout 30; #proxy_send_timeout 30; #proxy_read_timeout 60; #proxy_buffer_size 256k; proxy_buffers 4 256k; proxy_busy_buffers_size 512k; proxy_temp_file_write_size 512k; proxy_max_temp_file_size 256m;
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )
GMT+8, 2025-5-2 19:49 , Processed in 0.031476 second(s), 16 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.