Do I need to explicitly create a server_name for each domain I am
handling? I would like to be able to create an unattended config file
that I won’t “ever” touch again.
My guess is your server block with “site.com” on the server name is
defined
before the other one with the name “_”.
The first server block found is the one used when no Host matches any
server
name (unless there’s a “default” param for a server). http://wiki.codemongers.com/NginxHttpCoreModule#listen
Do I need to explicitly create a server_name for each domain I am
handling? I would like to be able to create an unattended config file
that I won’t “ever” touch again.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.