Friday, October 30, 2015

haproxy exclude redirect domain to https


in frontend http-in section


redirect scheme https if !{ hdr(Host) -i sub.domain.com } !{ ssl_fc }


Tuesday, October 6, 2015

git server hook after push

in server repo site edit file
.git/hooks/post-receive

add next script


#!/bin/bash
export GIT_WORK_TREE=/var/www/sitepath
git checkout -f



grub2-install: error: disk `mduuid/e54081d398c6d57b4d67436f6d032162' not found

After raid 1 disk replacement faced with this issue # grub2-install /dev/sdb Installing for i386-pc platform. grub2-install: error: disk `md...