全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
12
返回列表 发新帖
楼主: Polymer_dg
打印 上一主题 下一主题

windows下niginx+PHP

[复制链接]
跳转到指定楼层
11#
 楼主| 发表于 2012-8-13 15:01:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 Polymer_dg 于 2012-8-13 15:09 编辑

windows下niginx+PHP 怎么只能一个并发啊?

这个是测试连接:http://202.103.154.2:88/test.html

找遍了google 百度也没找到办法,求助各位大神~~~

nginx.conf配置

#user  nobody;
worker_processes  1;

error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

worker_rlimit_nofile 8192;

events {
   
    worker_connections  1024;
}


http {


        include       mime.types;
        default_type  application/octet-stream;
        log_format  main  '$remote_addr - $remote_user [$time_local] $request '
                      '"$status" $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';




        sendfile        on;
        #tcp_nopush     on;
        #keepalive_timeout  0;
        keepalive_timeout  65;
        gzip  on;

        server {
                listen         80;
                server_name     _;
                access_log      logs/access.log main;
                server_name_in_redirect  off;
                location / {
                            root  nginx/html;
                            index index.html;
                }
        }
    include vhosts/*.conf;
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-14 10:06 , Processed in 0.128348 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表