Mercurial > hg > nginx-quic
annotate contrib/vim/ftdetect/nginx.vim @ 6432:cf3e75cfa951
Added variables support to server_tokens.
It can now be set to "off" conditionally, e.g. using the map
directive.
An empty value will disable the emission of the Server: header
and the signature in error messages generated by nginx.
Any other value is treated as "on", meaning that full nginx
version is emitted in the Server: header and error messages
generated by nginx.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 15 Mar 2016 13:36:19 +0300 |
parents | f38043bd15f5 |
children |
rev | line source |
---|---|
5460
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
1 au BufRead,BufNewFile *.nginx set ft=nginx |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
2 au BufRead,BufNewFile */etc/nginx/* set ft=nginx |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
3 au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
4 au BufRead,BufNewFile nginx.conf set ft=nginx |