淘宝客反代配置-跳转
xxx.com {
tls 21371218@gmail.com
gzip
timeouts none
header / Strict-Transport-Security "max-age=31536000;"
redir 302 {
if {>User-agent} has Mobile
if {path} is /
https://xxx.com/index.php?r=index/wap
}
proxy / 127.0.0.1:7261 {
}
}
单ws反代
xxx.com {
tls 7517281@gmail.com
gzip
timeouts none
header / Strict-Transport-Security "max-age=31536000;"
proxy / https://xxx.com {
except /ok.htm
}
proxy /ok.htm 127.0.0.1:5214{
without /ok.htm
websocket
}
}
import sites/*
网站反代
xxx.xxx.com {
tls 324318@gmail.com
gzip
timeouts none
header / Strict-Transport-Security "max-age=31536000;"
proxy / http://xxx.xxx.com:3231{
}
}
本文由 转啊转 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为:
2016/07/04 14:45