Skip to content

Instantly share code, notes, and snippets.

@itsuwari
Created June 14, 2018 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsuwari/61a5181ed09a127b180ce5cba7da3155 to your computer and use it in GitHub Desktop.
Save itsuwari/61a5181ed09a127b180ce5cba7da3155 to your computer and use it in GitHub Desktop.
user daemon
# PID file
pidfile /var/run/sniproxy.pid
resolver {
nameserver 114.114.114.114
mode ipv4_first
}
listen 80 {
proto http
table https_hosts
}
listen 443 {
proto tls
table https_hosts
}
table https_hosts {
*.y\.qq\.com$ *
(.*\.|)y\.qq\.com$ *
(.*\.|)interface\.bilibili\.com$ *
(.*\.|)music\.163\.com$ *
.*ip\.ws\.126\.net$ *
.*.music\.126\.net$ *
(.*\.|)music\.126\.net *
ip\.cn *
.*www\.bilibili\.com$ *
.*bilibili\.hdslb\.net$ *
.*data\.bilibili\.com$ *
.*bangumi\.bilibili\.com$ *
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment