nginxconf配置如下
proses_pekerja 2;
acara {
sambungan_pekerja 1024;
}berbilang_terima
pada;
sertakan mime.types;
default_type application/octet-strim;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 2048m;
server_names_hash_bucket_size 1024;
pada fail 1024;tcp_nopush on;
keepalive_timeout 60;
tcp_nodelay on;
fastcgi_connect_timeout 3600;
fastcgi_send_timeout 3600;
4k;
fastcgi_busy_buffers_saiz 128k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; gzip on;gzip_min_length 1k; gzip_buffers 4 16k; gzip_http_version 1.1; gzip_comp_level 2; text application/javascript/javascript/types teks s application/xml; gzip_vary on;
gzip_proxied tamat tempoh tiada cache tiada kedai pengesahan peribadi; gzip_disable "MSIE [1-6]."; server_token dimatikan; access_log off; log masuk pelayan; dengar 80;
. lokasi / {
akar html;
indeks index.html index.htm;
}
Ralat laluan dan ralat pseudo-statik adalah dua kemungkinan
Tolong bantu saya tengok