Created
May 22, 2011 03:49
-
-
Save xianhuazhou/985157 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # openssl req -new -x509 -keyout server1.pem -out server1.pem -days 365 -nodes | |
| # chmod 400 server1.pem | |
| $SERVER["socket"] == ":443" { | |
| ssl.engine = "enable" | |
| } | |
| if $HTTP["HOST"] == "a.kom" { | |
| ssl.pemfile = "/usr/local/lighttpd/etc/server1.pem" | |
| } | |
| if $HTTP["HOST"] == "b.kom" { | |
| ssl.pemfile = "/usr/local/lighttpd/etc/server2.pem" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment