fix(nginx): Remove X-Real-IP header entry (#835)

Removes the obsolete and confusing `X-Real-IP` header setting from the Nginx config.
This commit is contained in:
Mikhail Paulyshka 2021-01-25 13:47:18 +03:00 committed by GitHub
parent ee53f18ad0
commit e7a3187cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,6 @@ http {
# it could be "close" to close a keepalive connection
proxy_set_header Connection '';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Request-Id $request_id;