Forum: NGINX IP address in server_name

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Igor C. (Guest)
on 2008-10-09 18:45
(Received via mailing list)
Hi there - is it possible to have a virtual host identified by IP
address as well as a default virtual host?

  listen  22.22.22.22;
  server_name  22.22.22.22;

http://22.22.22.22/

I have another server block with

  server_name  _;

defined, and this seems to be taking precedence - is that expected?
How can I get round it if so?

Thanks,
Igor
This topic is locked and can not be replied to.