Skip to content

Instantly share code, notes, and snippets.

@nining
nining / clash-config-trojan.yml
Created October 28, 2021 10:19 — forked from newrerio/clash-config-trojan.yml
clash-config-trojan.yml
port: 7890
socks-port: 7891
allow-lan: true
mode: Rule
log-level: silent
external-controller: 127.0.0.1:9090
dns:
enable: true
ipv6: false
listen: 127.0.0.1:5450
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://cdn.bootcss.com/crypto-js/3.1.9/core.js"></script>

Keybase proof

I hereby claim:

  • I am nining on github.
  • I am nining (https://keybase.io/nining) on keybase.
  • I have a public key ASAgTcnSnbMtsx_UwvbYaW2pHOd-jQd5MVWIOACYUNU4cgo

To claim this, I am signing this object:

@nining
nining / haproxy.cfg
Created January 4, 2018 03:57 — forked from fumin/haproxy.cfg
Haproxy config file for SSL and basic authentication
# Haproxy config file for SSL and basic authentication
#
# Since ssl is needed, we need to use
# `make TARGET=linux26 USE_OPENSSL=1 ADDLIB=-lz` to install haproxy.
# Also, haproxy version must be haproxy-1.5-dev19 or above.
#
# An example curl command that queryies pic-collage.com/api/collages/feed is
# `curl -k -v -u 'collages:password' 'https://ec2-ip.compute-1.amazonaws.com/api/collages/feed'`
userlist collages_dyno