zhoujiexiong commented on issue #11443:
URL: https://github.com/apache/apisix/issues/11443#issuecomment-2287690043

   Hi @zhaomingcheng01 
   
   Here is an example for standalone mode:
   
   edit `conf/apisix.yaml` config file
   ```
   deployment:
     role: data_plane
     role_data_plane:
       config_provider: yaml
   
   routes:
     -
       uri: /apollo/*
       upstream:
           nodes:
               "127.0.0.1:8070": 1
           type: roundrobin
   #END
   ```
   
   And proxy_set_header X-Forwarded-Host & X-Forwarded-For are the default 
settings of APISIX v3
   
   <img width="599" alt="image" 
src="https://github.com/user-attachments/assets/16806176-1c17-4bd8-b171-239c6ed7c93b";>
   
   
   For more: 
https://apisix.apache.org/docs/apisix/deployment-modes/#how-to-configure-rules


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