Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use remote_addr instead of user-defined header ip
$proxy_add_x_forwarded_for sets the user defined ip in the request. changing it to $remote_addr ensures that nginx sets the remote ip itself, disregarding user-specified ip from the request. Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
- Loading branch information