Настроил nginx как reverse proxy с использованием ssl (как описано
тут).
Nginx запускается, но сразу падает с ошибкой:
"the event "ngx_master_ХХХХ" was not signaled for 5s"
Не знаю куда копать.
nginx.conf:
server {
listen 443;
ssl on;
server_name ups.mysite.ru;
access_log C:/nginx-1.9.4/logs/ssl_access.log;
error_log C:/nginx-1.9.4/logs/ssl_error.log;
ssl_certificate C:/nginx-1.9.4/key/yanao.crt;
ssl_certificate_key C:/nginx-1.9.4/key/yanao.key;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers RC4:HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
keepalive_timeout 60;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
location / {
proxy_pass
http://192.168.1.55:8080;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_set_header Accept-Encoding "";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
add_header Front-End-Https on;
proxy_redirect off;
}
}