worker_processes 8;
events {
worker_connections 8192;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile off;
server_names_hash_bucket_size 128;
map_hash_bucket_size 64;
client_body_timeout 10;
client_header_timeout 10;
keepalive_timeout 30;
send_timeout 10;
keepalive_requests 10;
client_max_body_size 100m;
upstream a123.com{
server localhost:8080 weight=1;
}
server {
listen 80;
server_name a123.com;
client_max_body_size 1000M;
client_body_buffer_size 120M;
fastcgi_intercept_errors on;
location / {
rewrite ^(.*)$ http://www.a123.com$1 permanent;
}
}
}
配置文件哪里有问题?怎么修改?