diff --git a/vercel.json b/vercel.json index 0cae358a1..1890a0f7d 100644 --- a/vercel.json +++ b/vercel.json @@ -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" + } + ] + } + ] }