Init script for lighttpd not support SSL. If we want have SSL and non-SSL lighttpd both we must start two copy of lighttpd.
Created attachment 95412 [details, diff] Patch for SSL support
Created attachment 95413 [details] config file for init script
Comment on attachment 95412 [details, diff] Patch for SSL support Don't stick stuff like "need famd" into the init script, it's wrong.
(In reply to comment #3) > (From update of attachment 95412 [details, diff] [edit]) > Don't stick stuff like "need famd" into the init script, it's wrong. > I am only add support for SSL and nothing another. My script based on script from portage.
Something strange. By my script SSL version stopped fine, but non-SSL still works. What I did wrong?
Having two different init scripts for lighttpd does not have anything to do with SSL support. It's just creating two separate webserver processes. You can achieve the same SSL functionality by using conditional compilation. See http://trac.lighttpd.net/trac/wiki/Docs:SSL and http://trac.lighttpd.net/trac/wiki/Docs:Configuration. I'm not sure if there are any performance benefits in using two server processes. 1.4.12 release improves the performance of mod_cml with mod_magnet. In addition to that you can use several backend processes for dynamic content.
yes, please see the above mentioned documentation on how to configure lighttpd for SSL and non-SSL using a single server. thank you.