Merge pull request #44 from xqzr/patch-8

X-Real-IP header
This commit is contained in:
Arthur Morgan 2021-10-14 18:07:56 +08:00 committed by GitHub
commit fd884f8798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,7 @@ server {
return 404;
}
client_max_body_size 0;
grpc_set_header X-Real-IP $proxy_add_x_forwarded_for;
client_body_timeout 1071906480m;
grpc_read_timeout 1071906480m;
grpc_pass grpc://127.0.0.1:2002;