Re: RE: SSL_read() failed on Nginx built with new OpenSSL 1.1.1e

2020-03-26 Thread pdh0710
> cd openssl-1.1.1e > wget https://patch-diff.githubusercontent.com/raw/openssl/openssl/pull/10882.patch > patch -R -p1 < 10882.patch > > then recompile nginx Thank you. This solution fix the problem. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287464,287473#msg-287473 ___

SSL_read() failed on Nginx built with new OpenSSL 1.1.1e

2020-03-25 Thread pdh0710
(Please excuse my English) I built Nginx 1.16.1 (current stable version) with OpenSSL 1.1.1e(newly released), PCRE 8.44 and Zlib 1.2.11. However, sometimes(not always) the below error logs are generated. 2020/03/26 09:53:19 [crit] 24020#24020: *6 SSL_read() failed (SSL: error:14095126:SSL routin

Re: Cannot set cookies when using error_page directive, why?

2016-12-27 Thread pdh0710
Thank you Richard. I fixed the problem. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271704,271745#msg-271745 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Cannot set cookies when using error_page directive, why?

2016-12-26 Thread pdh0710
error_page 400 401 402 403 404 500 502 503 504 /err.html; location = /err.html { root /var/www; add_header Set-Cookie "error_response=${status}; path=/;"; } == (Please excuse my English) Above is a part of my 'nginx.conf'. My purpose is... If error occurred, cli