Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
CaddyFile 305 Bytes
Copy Edit Raw Blame History
evlon authored 2023-03-19 09:59 . update caddy index file to index.html
yourdomain.example.com {
reverse_proxy /v1/* https://api.openai.com {
header_up Host api.openai.com
header_up Authorization "{http.request.header.Authorization}"
header_up Authorization "Bearer sk-your-token"
}
file_server / {
root /var/wwwroot/chatgpt-web
index index.html
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化