LINUX.ORG.RU

Внезапно ошибка 503

 , ,


0

1

Привет господа, случилась беда:

Все настроено на freeBSD:

В логах nginx мильен записей:

[error] 1040#0: *15975 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 37.144.117.201, server: dzzz.internet

В логах апача:

[Sat Jul 28 01:26:32 2012] [debug] ssl_engine_kernel.c(1866): OpenSSL: Handshake: start
[Sat Jul 28 01:26:32 2012] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: before/accept initialization
[Sat Jul 28 01:26:32 2012] [debug] ssl_engine_io.c(1897): OpenSSL: read 11/11 bytes from BIO#80740c580 [mem: 807451000] (BIO dump follows)
[Sat Jul 28 01:26:32 2012] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Sat Jul 28 01:26:32 2012] [debug] ssl_engine_io.c(1869): | 0000: 4f 50 54 49 4f 4e 53 20-2a 20 48                 OPTIONS * H      |
[Sat Jul 28 01:26:32 2012] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
[Sat Jul 28 01:26:32 2012] [debug] ssl_engine_kernel.c(1903): OpenSSL: Exit: error in SSLv2/v3 read client hello A
[Sat Jul 28 01:26:32 2012] [info] [client ::1] SSL library error 1 in handshake (server www.example.com:443)
[Sat Jul 28 01:26:32 2012] [info] SSL Library Error: 336027900 error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking not SSL to HTTPS port!?
[Sat Jul 28 01:26:32 2012] [info] [client ::1] Connection closed to child 12 with abortive shutdown (server www.example.com:443)
server {
                listen *:80;
                server_name xxx.ru www.xxxxxx.ru;
                rewrite ^(/manager/.*)$ https://$host$1 permanent;
                error_page 404 = @fallback;

                location ~* ^/(webstat/|awstats|webmail/|myadmin/|manimg/) {
                        proxy_pass http://127.0.0.1:8080;
                        proxy_redirect http://127.0.0.1:8080/ /;
                        proxy_set_header Host $host;
                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header X-Real-IP $remote_addr;
                }
                location / {
                        proxy_set_header Range "";
                        proxy_set_header Request-Range "";
                        proxy_pass http://127.0.0.1:8080;
                        proxy_redirect http://127.0.0.1:8080/ /;
                        proxy_set_header Host $host;
                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header X-Real-IP $remote_addr;
                        proxy_cache default;
                        proxy_cache_valid   200 302 10m;
                        proxy_cache_valid   404 1m;
  }

proxy_pass http://127.0.0.1:8080;

proxy_pass http://127.0.0.1:8080;

routines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking not SSL to HTTPS port!?

router ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.