Update vercel.json

This commit is contained in:
Yifei Zhang 2023-11-17 15:22:11 +08:00 committed by GitHub
parent 914f4fb862
commit cf220dd2eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 1 deletions

View File

@ -1,5 +1,24 @@
{
"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"
}
]
}
]
}