config: disable ip forward in vercel json config

This commit is contained in:
Yifei Zhang 2023-11-17 15:10:51 +08:00 committed by GitHub
parent 3c510cfaf0
commit 7bdb68eecf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
}
]
}
]
}