Welcome! Log In Create A New Profile

Advanced

Re[4]: nginx и балансировка

Михаил Монашёв
February 13, 2013 08:56AM
Здравствуйте, 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;
> }

У Вас в конфиге отсутствует проксирование к бэкендам. Все с диска
отдаётся. Почитайте http://nginx.org/ru/docs/http/ngx_http_proxy_module.html .

--
С уважением,
Михаил mailto:postmaster@softsearch.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx и балансировка

dereck February 13, 2013 08:01AM

Re: nginx и балансировка

Михаил Монашёв February 13, 2013 08:10AM

Re: nginx и балансировка

dereck February 13, 2013 08:22AM

Re[2]: nginx и балансировка

Михаил Монашёв February 13, 2013 08:36AM

Re: Re[2]: nginx и балансировка

dereck February 13, 2013 08:50AM

Re: Re[2]: nginx и балансировка

dereck February 13, 2013 08:53AM

Re[4]: nginx и балансировка

Михаил Монашёв February 13, 2013 08:56AM

Re: Re[4]: nginx и балансировка

dereck February 13, 2013 09:20AM

Re: nginx и балансировка

Dmitriy Lyalyuev February 13, 2013 08:58AM

Re: nginx и балансировка

Igor Sysoev February 13, 2013 08:20AM

Re: nginx и балансировка

dereck February 13, 2013 08:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready