Re: how nginx decide which server block to use

2017-06-21 Thread Francis Daly
On Wed, Jun 21, 2017 at 03:26:10PM +0800, George / wrote: Hi there, For the question in the Subject: line, see http://nginx.org/en/docs/http/request_processing.html#mixed_name_ip_based_servers > i am running nginx version: nginx/1.12.0.i got following server block > config as below, all requ

how nginx decide which server block to use

2017-06-21 Thread George /
Hi all, i am running nginx version: nginx/1.12.0.i got following server block config as below, all request match regular expression work well,but request to server s01.example.com return 404.what's wrong? i googled for a while,most of the article said,it first try to match literal string ,th