nginx.config file string is not highlighted
Nginx set up after the completion of service, it was found not to view nginx.config highlighted character, in order to highlight the profile appears easy viewing, you need to modify some configuration files, modify the steps as follows:
# mkdir -p /root/.vim/syntax
# cd /root/.vim/syntax
Download from the public network nginx.vim
# Wget https://www.vim.org/scripts/download_script.php?src_id=19394 -O nginx.vim
Add settings nginx related files in vim configuration file
# echo "au BufRead,BufNewFile /etc/nginx/* set ft=nginx" >> /usr/share/vim/vim74/filetype.vim
Test whether the configuration
# vim /etc/nginx/nginx.conf