setting a default virtual host in nginx Aug
20
1
0

If there are multiple conf files included in the sites-enabled directory you can set the Nginx server to default to a particular site by adding a listen directive:

server {
listen 80 default;
... }
Bookmark and Share
blog comments powered by Disqus