linux疯子zero.blog.chinaunix.net
bbskuang
全部博文(31)
2010年(6)
2009年(21)
2008年(4)
小雅贝贝
tntcheng
大鬼不动
Bsolar
shanshui
zxcbvbbb
catcatsa
Tina_Ja
G_Phinea
qianguoz
cyncyncy
gwljt
分类: LINUX
2008-11-07 13:05:09
#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;events { worker_connections 1024;}http { #include /etc/nginx.mime.types; include mime.types; default_type application/octet-stream; access_log /var/log/nginx/access.log combined; sendfile on; keepalive_timeout 65; tcp_nodelay on; server { listen 80; server_name localhost; access_log /var/log/nginx/yourserver.com-access.log combined; error_log /var/log/nginx/yourserver.com-error.log; root /home/riverbird/python/django; location / { proxy_pass http://localhost:8088; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; } }}
上一篇:流量统计darkstat
下一篇:利用4G U盘安装Fedora Linux(转)
登录 注册