test nginx, before try to reload

This commit is contained in:
2016-07-19 21:04:59 +02:00
parent b8ec5737d5
commit 43ccab1585
2 changed files with 2 additions and 2 deletions

2
.vimrc
View File

@@ -71,6 +71,7 @@ set magic
" Show matching brackets when text indicator is over them " Show matching brackets when text indicator is over them
set showmatch set showmatch
" How many tenths of a second to blink when matching brackets " How many tenths of a second to blink when matching brackets
set mat=2 set mat=2
@@ -145,7 +146,6 @@ set wrap "Wrap lines
"set listchars to show special characters "set listchars to show special characters
set list set list
"set listchars=tab:\▸\ ,trail:.,precedes:←,extends:→,nbsp:.,eol:¬
set listchars=tab:\┆\ ,trail:.,precedes:←,extends:→,nbsp:.,eol,space:⋅ set listchars=tab:\┆\ ,trail:.,precedes:←,extends:→,nbsp:.,eol,space:⋅
hi SpecialKey ctermfg=8 hi SpecialKey ctermfg=8
hi NonText ctermfg=8 guifg=gray hi NonText ctermfg=8 guifg=gray

View File

@@ -11,7 +11,7 @@ alias g='git'
alias h='history' alias h='history'
alias ipt='iptables -L -n --line-numbers' alias ipt='iptables -L -n --line-numbers'
alias nginxtest='docker exec -it nginx nginx -t' alias nginxtest='docker exec -it nginx nginx -t'
alias nginxreload='docker exec -it nginx nginx -s reload' alias nginxreload='docker exec -it nginx /bin/bash -c "/usr/sbin/nginx -t && /usr/sbin/nginx -s reload"'
# defaults # defaults
alias df='df -h' alias df='df -h'