ssl config problems binding to specific IP
Jon Hancock
jhancock at shellshadow.com
Sat Jul 25 00:16:42 MSD 2009
using nginx 0.7.61
server {
server_name mydomain.com;
listen 80;
listen 443 default ssl;
...
}
works!!!
When I use IP addresses, I get problems:
server {
server_name mydomain.com;
listen 192.168.0.11:80;
listen 192.168.0.11:443 default ssl;
...
}
When I add the IP address, HTTPS works, but HTTP requests give me: 404 Bad
Request - The Plain HTTP request was sent to HTTPS port
I need to specify the IP so I can have another server block for a second SSL
server
Any ideas?
thanks, Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090724/2c64fb30/attachment.html>
More information about the nginx
mailing list