mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-02-11 17:40:35 +08:00
config: disable ip forward in vercel json config
This commit is contained in:
parent
3c510cfaf0
commit
7bdb68eecf
19
vercel.json
19
vercel.json
@ -2,23 +2,4 @@
|
||||
"github": {
|
||||
"silent": true
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "X-Real-IP",
|
||||
"value": "$remote_addr"
|
||||
},
|
||||
{
|
||||
"key": "X-Forwarded-For",
|
||||
"value": "$proxy_add_x_forwarded_for"
|
||||
},
|
||||
{
|
||||
"key": "Host",
|
||||
"value": "$http_host"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user