PostgreSQL coub css express.js freeware git jquery laravel links linux macos mysql node.js php python task1 ubuntu vim virtualbox анекдот игры интересно музыка стихи цитаты

Nginx: how to set default server August 01, 2016
Sometimes it's conveniently to set up default server, that gonna try to serve request by default. Originally, if your server got a request by IP address (for example) and can't get any requested hostname, it takes first server description from your config and tries to serve request with this server.
You can change this behavior. It's really easy. Just use default_server parameter, like this.
server {
    listen      80 default_server;


No comments here yet.
You have to login to post a new comment.
Want this blog? Checkout that  here