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.

[EMAIL PROTECTED]:/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
--
[EMAIL PROTECTED]

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

Reply via email to