Skip to content

Commit

Permalink
config: disable ip forward in vercel json config
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa authored Nov 17, 2023
1 parent 3c510cf commit 7bdb68e
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
]
}

0 comments on commit 7bdb68e

Please sign in to comment.