
: Default server name nginx A server is hosting several website each having its own domain name. Nginx is used the reverse proxy. When a domain name is pointing to the IP of the server and
A server is hosting several website each having its own domain name. Nginx is used the reverse proxy.
When a domain name is pointing to the IP of the server and that no server_name is specified nginx serves a default one that matches with the first configuration file.
I want to avoid this behavior and set on my own the default website nginx should serve.
How can I do this? How can a _default server_name server be chosen when the domain name requested is non-existent.
More posts by @Sarah324
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.