添加留言
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]
               

 
fjw
2011-5-27 08:45
张哥!
   打开网站会有些图片不能显示,按F5刷新后全可以出来,再按F5又会有一些图片不出来,再按又出来了。。。。。 这是web服务器配置文件,麻烦你们帮忙看看。
    
   user  daemon daemon;

worker_processes 8;

error_log  /usr/local/service/nginx/logs/nginx_error.log  crit;

pid        /usr/local/service/nginx/nginx.pid;

#Specifies the value for maximum file descriptors that can be opened by this process.
worker_rlimit_nofile 51200;

events
{
  use epoll;
  worker_connections 51200;
}

http
{
  include       mime.types;
  default_type  application/octet-stream;

  #charset  gb2312;
      
  server_names_hash_bucket_size 128;
  client_header_buffer_size 32k;
  large_client_header_buffers 4 32k;
  client_max_body_size 8m;
      
  sendfile on;
  tcp_nopush     on;

  keepalive_timeout 15;

  tcp_nodelay on;

  fastcgi_connect_timeout 50;
  fastcgi_send_timeout 300;
  fastcgi_read_timeout 300;
  fastcgi_buffer_size 64k;
  fastcgi_buffers 4 64k;
  fastcgi_busy_buffers_size 128k;
  fastcgi_temp_file_write_size 128k;
  fastcgi_intercept_errors on;
  gzip on;
  gzip_min_length  1k;
  gzip_buffers     4 16k;
  gzip_http_version 1.0;
  gzip_comp_level 2;
  gzip_types       text/plain application/x-javascript text/css application/xml;
  gzip_vary on;
  limit_zone slimits $binary_remote_addr 5m;
  limit_conn slimits 5;
  #limit_zone  crawler  $binary_remote_addr  10m;


  server
  {
    listen       80;
    server_name  www.66.com
    index index.html index.php;
    #rewrite ^/* /aa.html break;
    root  /web/ecshop;
    error_page 404 = /404.html;
if ( $fastcgi_script_name ~ \..*\/.*php )
{
return 403;
}
#if ($http_user_agent ~ Baiduspider) {
#return 403;
#}
if ($request_uri ~* "(cost\()|(concat\()") {
                return 444;
dustlost
2011-5-26 16:52
问个问题,域名从新网转入godaddy时,域名解析设置怎么办? 会不会出现网站几天不能解析?
恩基人
2011-5-26 14:18
unhappy这几天网站上午访问好像有点问题,打不开:)
water197
2011-5-25 14:31
请教一个问题:我想做一个比较大型的网站,从前端到后端,希望大哥给个方案,一直都是做小型的网站,现在有一个大型的网站部署,希望多帮忙,包括服务器配置,网络架构这方面给点建议,帮助下我。谢谢了
water197
2011-5-25 14:29
支持你
stewart
2011-5-25 13:41
工信部拟推境外域名白名单制度 未备案无法访问 #网易科技#

怎么搞啊大哥。。。
zztianxie
2011-5-24 12:02
张兄,我刚在windows7下装了一下,提示apache启动失败,请检查相关配置文件,mysql启动失败,请检查相关配置文件

说明:没有写日志文件,端口没有被占用
zztianxie
2011-5-24 11:04
张兄,我刚在windows7下装了一下,提示apache启动失败,请检查相关配置文件,mysql启动失败,请检查相关配置文件

说明:没有写日志文件,端口没有被占用
成都SEO Homepage
2011-5-23 16:48
博客真牛,支持你!!!
子墨
2011-5-23 16:37
win7好像用不了
分页: 2836/2966 第一页 上页 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 下页 最后页