haproxy in centos 7
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin
stats timeout 30s
user haproxy
group haproxy
daemon
defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000
frontend http_front
bind *:80
stats uri /haproxy?stats
default_backend http_back
backend http_back
balance roundrobin
server my_server private_IP:80 check
server my_server private_IP:80 check
Also in Shell:
- make shell script executable
- static ip debian
- powershell get date
- how to upgrade package yarn global
- how to kill tasks using grep
- git revert merge
- git SSL certificate problem: certificate has expired
- cp multiple files
- git commit permission changes
- bash command to find the number of files in a directory
- git push heroku master Permission denied (publickey). fatal: Could not read from remote repository.
- linux find file
- how to turn off bluetooth in ubuntu 18.04 terminal
- how to make file in terminal ubuntu
- remove directory and contents
- bash compare two strings
- linux change username
- copy folder from s3 to local
- remove all files with no extention rm
- scp send file
- git commit all
- how to push force git
- how to import microsoft.online sharepoint powershell
- linux command line in windows 10