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

View File

@@ -11,7 +11,7 @@ alias g='git'
alias h='history'
alias ipt='iptables -L -n --line-numbers'
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
alias df='df -h'