server_name that starts with a number

rainer at ultra-secure.de rainer at ultra-secure.de
Tue Sep 26 14:47:48 UTC 2017


Am 2017-09-26 16:15, schrieb Maxim Dounin:
> Hello!

> Note well that testing with browsers is generally a bad idea, as
> browsers tend to cache responses.

I almost always test with curl.

I can see that the nginx access log of the vhost where the requests are 
supposed to show up is empty.
They do show up in the request log of the default_server (_).

The server_name is 20.domain.com, BTW.


I will try to reproduce it and send the config.

In this case, nginx is only a reverse-proxy for apache (on the same 
host).

Because even the default vhost has a location to proxy_pass most traffic 
to 127.0.0.1:8080, it wouldn't matter.

But the customer seems to need the ".well-known" directory for his own 
purposes and on the default vhost, it clashes with the .well-known 
location there (which I can't remove).







More information about the nginx mailing list