Skip to content

Instantly share code, notes, and snippets.

View cross_and_static_compile_shadowsocks-libev.sh
#!/bin/bash
# cross & static compile shadowsocks-libev
PCRE_VER=8.44
PCRE_FILE="https://ftp.pcre.org/pub/pcre/pcre-$PCRE_VER.tar.gz"
MBEDTLS_VER=2.16.6
MBEDTLS_FILE="https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz"
@bash99
bash99 / haproxy.cfg
Created Oct 26, 2017
haproxy cfg for http_proxy check
View haproxy.cfg
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock.3001 mode 660 level admin
stats timeout 30s
user haproxy
group haproxy
daemon
You can’t perform that action at this time.