> From: nginx [mailto:nginx-boun...@nginx.org] On Behalf Of Iurii Medvedev
> 
> https://nginx.ru/en/docs/http/ngx_http_core_module.html#server_name

And?

There is clearly written:

"
The first two of the names mentioned above can be combined in one: 
server {
    server_name .example.com;
}
"

Which expands to example.com and *.example.com.

The only concern could be performance (similar as with regular expression 
location blocks). 

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to