You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/02/10 13:31:05 UTC

[GitHub] [incubator-apisix] agile6v commented on a change in pull request #1113: Feature: Add support for PROXY Protocol.

agile6v commented on a change in pull request #1113: Feature: Add support for PROXY Protocol.
URL: https://github.com/apache/incubator-apisix/pull/1113#discussion_r377062458
 
 

 ##########
 File path: bin/apisix
 ##########
 @@ -200,10 +204,14 @@ http {
 
     include mime.types;
 
-    real_ip_header {* real_ip_header *};
-    {% for _, real_ip in ipairs(real_ip_from) do %}
+    {% if http.real_ip_header then %}
 
 Review comment:
   Yes. I will add it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services