1
halczy 2018-09-11 17:17:59 +08:00
|
2
jerry 2018-09-11 17:18:03 +08:00 via iPhone
|
3
wildcat007 OP |
4
momocraft 2018-09-11 17:28:26 +08:00
不如试一下
|
5
wildcat007 OP OK 解决 使用 http.jwt 和 http.login 插件即可
@halczy @jerry @momocraft 配置如下 xxx.com { log /xx/xx/xx/xx.log tls [email protected] gzip timeouts none proxy / http://127.0.0.1:28080 { header_upstream Host {host} header_upstream X-Real-IP {remote} header_upstream X-Forwarded-For {remote} header_upstream X-Forwarded-Proto {scheme} } jwt { path / allow sub bob } login { simple name=password } } |