Bug#355868: [pkg-lighttpd] Bug#355868: lighttpd: Provide start script and configuration for SSL

Krzysztof Krzyzaniak eloy at kofeina.net
Sun Mar 19 21:27:20 UTC 2006


Krzysztof Krzyzaniak wrote:
> Krzysztof Krzyzaniak wrote:
>> Marcello Nuccio wrote:
>>> Package: lighttpd
>>> Version: 1.4.8-2
>>> Severity: wishlist
>>>
>>> To use HTTP and HTTPS on the same server, you need 2 instances o
>>> lighttpd.  It would be nice to have start script and cofiguration in the
>>> default debian package. I use the following:
>>> (note /usr/sbin/lighttpd-ssl is a link to /usr/sbin/lighttpd)
>> Are you sure about this 'you need 2 instances'?
> 
> As I think, it's not needed. Simply defining of
> 
> #### SSL engine
> ssl.engine                  = "enable"
> ssl.pemfile                 = "/etc/lighttpd/server.pem"
> 
> ... making lighttpd handling of ssl connections on 443 port.
> 
> root at ws143:/etc/lighttpd# lsof|grep https
> lighttpd  31577   www-data    4u     IPv4   26328534                 TCP 
> *:https (LISTEN)

http://trac.lighttpd.net/trac/wiki/FrequentlyAskedQuestions and
http://www.lighttpd.net/documentation/ssl.html

SSL could be handled by including file with defined:

$SERVER["socket"] == "192.168.2.100:443" {
   ssl.engine                  = "enable"
   ssl.pemfile                 = "www.example.org.pem"
}

I wonder if will work something like:

$SERVER["socket"] == "*:443"

   eloy
-- 
-------e-l-o-y-----------e-l-o-y- at -t-r-a-n-s-i-l-v-a-n-i-a-.-e-u-.-o-r-g------

        jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej




More information about the pkg-lighttpd-maintainers mailing list