This commit is contained in:
WJQSERVER 2024-10-17 00:04:29 +08:00
parent 670bca31ca
commit 00d2113904

View file

@ -102,11 +102,11 @@
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 /token* {
reverse_proxy https://auth.docker.io {