tzssangglass commented on issue #8468:
URL: https://github.com/apache/apisix/issues/8468#issuecomment-1340924896

   from 
https://github.com/apache/apisix/blob/5822eca9a28ff7b92dc7fc0431281eb62dd60ba8/apisix/cli/ngx_tpl.lua#L208-L210
   
   I think I think the indentation is wrong here 
https://github.com/apache/apisix/blob/5822eca9a28ff7b92dc7fc0431281eb62dd60ba8/conf/config-default.yaml#L37-L44
   
   it should be:
   
   ```yaml
     #proxy_protocol:                  # Proxy Protocol configuration
       #listen_http_port: 9181           # The port with proxy protocol for 
http, it differs from node_listen and admin_listen.
                                       # This port can only receive http 
request with proxy protocol, but node_listen & admin_listen
                                       # can only receive http request. If you 
enable proxy protocol, you must use this port to
                                       # receive http request with proxy 
protocol
       #listen_https_port: 9182          # The port with proxy protocol for 
https
       #enable_tcp_pp: true              # Enable the proxy protocol for tcp 
proxy, it works for stream_proxy.tcp option
       #enable_tcp_pp_to_upstream: true  # Enables the proxy protocol to the 
upstream server
   ```
   
   cc @spacewander 


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to