server_name _; doesn't work
Maxim Dounin
mdounin at mdounin.ru
Tue Mar 9 00:54:05 MSK 2010
Hello!
On Mon, Mar 08, 2010 at 03:36:46PM -0500, kleinchris wrote:
> Hello, when I set a default vhosts with server_name _; it doesn't work. Here the example file:
> server {
> listen 80;
> server_name _ ; # underdash means for all hosts
It doesn't "means for all hosts". It's just some non-existant
name.
See here:
http://nginx.org/en/docs/http/request_processing.html
Maxim Dounin
More information about the nginx
mailing list