mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
24w18a
This commit is contained in:
parent
f77de0d37a
commit
670bca31ca
3 changed files with 12 additions and 4 deletions
|
|
@ -1,5 +1,11 @@
|
|||
# 更新日志
|
||||
|
||||
24w18a
|
||||
---
|
||||
- PRE-RELEASE: 此版本是预发布版本,请勿在生产环境中使用
|
||||
- CHANGE: 改进Docker 代理
|
||||
- CHANGE: 改进前端页面的copy提示,弃用alert提示
|
||||
|
||||
v1.5.2
|
||||
---
|
||||
- FIX: 修正flag传入问题
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
24w17b
|
||||
24w18a
|
||||
|
|
@ -102,17 +102,19 @@
|
|||
header_up X-Forwarded-For {http.request.header.X-Forwarded-For}
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up Authorization {http.request.header.Authorization}
|
||||
header {
|
||||
www-authenticate 'Bearer realm="https://${host}/token",service="registry.docker.io"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
route /auth* {
|
||||
|
||||
route /token* {
|
||||
reverse_proxy https://auth.docker.io {
|
||||
header_up Host auth.docker.io
|
||||
header_up X-Real-IP {remote}
|
||||
header_up X-Forwarded-For {http.request.header.X-Forwarded-For}
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up Authorization {http.request.header.Authorization}
|
||||
header_down Authorization
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue