From 7bdb68eecf58ce3d1531701c51ff3fbbbdd4d932 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Fri, 17 Nov 2023 15:10:51 +0800 Subject: [PATCH] config: disable ip forward in vercel json config --- vercel.json | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/vercel.json b/vercel.json index 1890a0f7dba..21dc9cc2497 100644 --- a/vercel.json +++ b/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" - } - ] - } - ] }