dashy
parent
cea8866fbe
commit
201c1a0eee
22
test.sh
22
test.sh
|
@ -1,22 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Naive setup
|
||||
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local:~/bin
|
||||
export PATH
|
||||
|
||||
cat > file <<EOF
|
||||
:443, ${1} # 域名
|
||||
tls ${2} # 你的邮箱
|
||||
route {
|
||||
forward_proxy {
|
||||
basic_auth ${3} ${4} # 用户名和密码
|
||||
hide_ip
|
||||
hide_via
|
||||
probe_resistance
|
||||
}
|
||||
reverse_proxy ${5} { # 伪装网址
|
||||
header_up Host {upstream_hostport}
|
||||
header_up X-Forwarded-Host {host}
|
||||
}
|
||||
}
|
||||
EOF
|
|
@ -0,0 +1,24 @@
|
|||
pageInfo:
|
||||
title: AhFei's Serve
|
||||
description: 承飞之咎
|
||||
navLinks:
|
||||
- title: 书签
|
||||
path: http://bwgh.ahfei.blog:5005/
|
||||
target: newtab
|
||||
footerText: 希望遇到志同道合的朋友
|
||||
sections:
|
||||
- name: 北理
|
||||
items:
|
||||
- title: 乐学
|
||||
url: https://lexue.bit.edu.cn/
|
||||
- title: 本硕博综合平台
|
||||
url: http://jxzxehall.bit.edu.cn/new/index.html
|
||||
- title: 学生综合数据平台
|
||||
url: http://stu.bit.edu.cn/
|
||||
- title: 学生个人中心
|
||||
url: http://jwms.bit.edu.cn/jsxsd/framework/main.jsp
|
||||
- subItems:
|
||||
- title: 新北理图书馆
|
||||
url: http://tsg.bit.edu.cn/
|
||||
- title: 旧北理图书馆
|
||||
url: http://lib.bit.edu.cn/
|
Loading…
Reference in New Issue