赞
踩
- nginx 同一个ip 根据不同域名 转发到不同的内网ip
- 复制代码
- #####################changed 2010-08-11#########
- #user admin admin;
-
- #worker_processes 8;
- #worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000;
-
- worker_processes 4;
- worker_cpu_affinity 00000001 00000010 00000100 00001000;
-
- #error_log /export/servers/nginx/logs/nginx_error.log warn;
- #pid /export/servers/nginx/logs/nginx.pid;
-
- worker_rlimit_nofile 65535;
-
- events {
- use epoll;
- worker_connections 65535;
- }
-
- http {
- include mime.types;
- default_type application/octet-stream;
- server_tokens off;
- log_format main '$remote_addr - $remote_user [$time_local] '
- '"$request" $status $bytes_sent '
- '"$http_referer"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。