- Objective
- Add and enable new virtual hosts
- Environment
- Ubuntu 14.04 TLS
Default
Default configuration file
 cat /etc/nginx/sites-available/default
The server block configuration are : listen 80, server_name localhost. The location handler mechanism : try to handle request as file, then as directory, then fall back displaying 404 filetry_files $uri $uri/ =404)
 
No comments:
Post a Comment