nginx设置代理账号密码

    proxy_set_header Authorization "Basic a2luZzppc25ha2Vk";

    proxy_set_header Authorization "Basic YWRtaW46YWRtaW44ODg=";

admin/admin888
 YWRtaW46YWRtaW44ODg=
curl --proxy 10.10.124.97:80 --proxy-basic -U admin:admin888 www.baidu.com
http://shairosenfeld.com/blog/index.php/2011/03/authorization-header-in-nginx-for-proxying-to-basic-auth-backend/

查询linux下你使用最多的10条命令 - - ITeye技术网站

查询linux下你使用最多的10条命令:

history | awk '{CMD[$2]++;count++;} END { for (a in CMD )print CMD[ a ]" " CMD[ a ]/count*100 "% " a }' | grep -v "./" | column -c3 -s " " -t |sort -nr | nl | head -n10

你可能感兴趣的:(nginx)