- 论坛徽章:
- 0
|
- worker_processes 1;
- #pid logs/nginx.pid;
- events {
-
- worker_connections 1024;
- }
- http {
- #include mime.types;
- include proxy.conf;
- default_type application/octet-stream;
- sendfile on;
-
- server {
- listen 80 default;
- access_log off;
- #server_name yky.guet.edu.cn;
- location /status {
- stub_status on;
- #access_log on;
- #auth_basic "NginxStatus";
- #auth_basic_user_file conf/htpasswd;
- }
- location /netdisk {
- proxy_pass http://202.*.77.243:8000/netdisk;
-
- }
- location /os {
- proxy_pass http://202.*.77.243:8000/os;
- #rewrite ^(.*) 202.*.77.243:8000/os permanent;
- }
- }
- }
复制代码 配置文件如上,IP地址做了处理。
进程有四个,CPU占用一直80%以上。
求助一下,难道win下的nginx真的很烂么?有什么方法可以改善么?
有点好奇nginx在WIN下的调度方式,是iocp么? |
|