May 26, 2018

Diable default vhost in Nginx web server

When hosting a website in Nginx, the Nginx server will serve all the page to port 80 by default, in order to disable this features, you may create a default site which bind to the IP at port 80 and redirect it to the error page, which mean that’s no default page serving to the…