Answer the question
In order to leave comments, you need to log in
Error when configuring nginx as https reverse proxy?
Set up nginx as a reverse proxy using ssl (as described here ).
Nginx starts, but immediately crashes with an error:
"the event "ngx_master_ХХХХ" was not signaled for 5s"
I don't know where to dig.
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;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question