On Thu, Jan 29, 2015 at 12:50:41PM +0100, Lorenzo Raffio wrote:
Hi there,
> listen 80;
> listen 443 ssl default_server spdy;
> ... but it's not respected. If I point the A record of a domain I didn't
> add in a nginx server block, the first server block in alphabetical order
> is picked
Does this one help? http://wiki.nginx.org/ServerBlockExample
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,256329,256333#msg-256333
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
I have multiple files each with a config for a different vhost.
On one of these config files (included in the main nginx config file) I set
the default_server directive:
server {
listen 80;
listen 443 ssl default_server spdy;
server_name 188.166.X.XXX;
root /var/www/default;