nginx 全部域名解析统一设置

server
    {
        listen 80 default_server;
        #listen [::]:80 default_server ipv6only=on;
        index index.html index.htm index.php;
        root  /data/wwwroot/default;

        #error_page   404   /404.html;
        #include enable-php.conf;
      location / {
      
      } 
        location /nginx_status
        {
            stub_status on;
            access_log   off;
        }

        location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
        {
            expires      30d;
        }

        location ~ .*\.(js|css)?$
        {
            expires      12h;
        }
      location ~ [^/]\.php(/|$) {
      #fastcgi_pass remote_php_ip:9000;
      fastcgi_pass unix:/dev/shm/php-cgi.sock;
      fastcgi_index index.php;
      include fastcgi.conf;
    } 
        

        access_log  /data/wwwlogs/access.log  access;


nba2k2球员数据

nba2k2球员数据
请先登录后发表评论
  • 最新评论
  • 总共0条评论