Re: nginx и балансировка
Dmitriy Lyalyuev
dmitriy at lyalyuev.info
Wed Feb 13 13:55:59 UTC 2013
Он у вас никогда не попадает на апстримы!
Или же это не полный конфиг, что наиболее вероятно.
http://wiki.nginx.org/HttpProxyModule
13.02.2013 15:50, dereck пишет:
> 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"';
>
> #access_log logs/access.log main;
>
> sendfile on;
> #tcp_nopush on;
>
> #keepalive_timeout 0;
> keepalive_timeout 65;
>
> #gzip on;
> upstream backend {
> server 192.168.1.10:80;
> server 192.168.1.10:8080;
> }
> server {
> listen 90;
> server_name 192.168.1.10.88;
> #charset koi8-r;
> #access_log logs/host.access.log main;
> location / {
> root /usr/local/nginx/html;
> index index.html index.htm;
> }
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,236187,236194#msg-236194
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20130213/9c3f326e/attachment.html>
Подробная информация о списке рассылки nginx-ru