mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
hotfix
This commit is contained in:
parent
670bca31ca
commit
00d2113904
1 changed files with 2 additions and 2 deletions
|
|
@ -102,11 +102,11 @@
|
||||||
header_up X-Forwarded-For {http.request.header.X-Forwarded-For}
|
header_up X-Forwarded-For {http.request.header.X-Forwarded-For}
|
||||||
header_up X-Forwarded-Proto {scheme}
|
header_up X-Forwarded-Proto {scheme}
|
||||||
header_up Authorization {http.request.header.Authorization}
|
header_up Authorization {http.request.header.Authorization}
|
||||||
|
}
|
||||||
header {
|
header {
|
||||||
www-authenticate 'Bearer realm="https://${host}/token",service="registry.docker.io"'
|
www-authenticate 'Bearer realm="https://${host}/token",service="registry.docker.io"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
route /token* {
|
route /token* {
|
||||||
reverse_proxy https://auth.docker.io {
|
reverse_proxy https://auth.docker.io {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue