mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 20:20:16 +09: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": {
|
"github": {
|
||||||
"silent": true
|
"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