Proxying with/without listen in server block

tcbarrett nginx-forum at
Wed Aug 14 09:48:38 UTC 2013

Am I missing this:

"If a server is the only server for a listen port, then nginx will not test
server names at all (and will not build the hash tables for the listen
port). However, there is one exception. If a server name is a regular
expression with captures, then nginx has to execute the expression to get
the captures."

Posted at Nginx Forum:,241824,241826#msg-241826

More information about the nginx mailing list