July 26, 2011 10:48PM
Hi Maxim,

Thanks for looking into this - I may apply the fix you propose sometime in the future.

The solution I ended up with was kind of weird. I simply put the ssl_certificate related directives inside a "faux" server directive, that's also the first server directive containing ssl directives. As nginx picks the first one it finds, the correct certificate is still being inherited by other server directives. This caused the startup time to be drastically reduced.

Rune
Subject Author Posted

Multiple SSL enabled hosts causes nginx to reload slowly

runesoerensen May 18, 2011 08:40PM

Re: Multiple SSL enabled hosts causes nginx to reload slowly

Maxim Dounin May 19, 2011 06:44AM

Re: Multiple SSL enabled hosts causes nginx to reload slowly

runesoerensen July 26, 2011 10:48PM

Re: Multiple SSL enabled hosts causes nginx to reload slowly

Maxim Dounin July 27, 2011 03:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 162
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready