24w18a
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
[DEMO](https://ghproxy.1888866.xyz)
|
||||
|
||||
[TG讨论群](https://t.me/ghproxy_go)
|
||||
[TG讨论群组](https://t.me/ghproxy_go)
|
||||
|
||||
## 项目说明
|
||||
|
||||
|
||||
@@ -103,6 +103,17 @@
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up Authorization {http.request.header.Authorization}
|
||||
}
|
||||
}
|
||||
|
||||
route /auth* {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user