view contrib/vim/ftdetect/nginx.vim @ 5489:6d357b2a9d6e

Upstream: keep $upstream_http_x_accel_redirect intact. When processing the X-Accel-Redirect header, the value of the $upstream_http_x_accel_redirect variable was also overwritten.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 23 Dec 2013 18:11:46 +0400
parents f38043bd15f5
children
line wrap: on
line source

au BufRead,BufNewFile *.nginx set ft=nginx
au BufRead,BufNewFile */etc/nginx/* set ft=nginx
au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
au BufRead,BufNewFile nginx.conf set ft=nginx