mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
24w18a
This commit is contained in:
parent
1c18ccc363
commit
f77de0d37a
2 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue