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 2022/04/06 01:19:56 UTC

[GitHub] [apisix-dashboard] jinnyu commented on issue #2409: upstream config, cann't select Host header for option 'Keep the same Host from client request'

jinnyu commented on issue #2409:
URL: https://github.com/apache/apisix-dashboard/issues/2409#issuecomment-1089618057

   > 
   
   ```bash
   curl 'http://10.26.20.220:4010/apisix/admin/upstreams/401541446110282671' \
     -X 'PUT' \
     -H 'Connection: keep-alive' \
     -H 'Pragma: no-cache' \
     -H 'Cache-Control: no-cache' \
     -H 'Accept: application/json' \
     -H 'DNT: 1' \
     -H 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NDkyMTE0NjIsImlhdCI6MTY0OTIwNzg2Miwic3ViIjoiYWRtaW4ifQ.KxtxoVGG6j-J-2lAVu-HVuKeSwv-yvVpokhd6YhSZq4' \
     -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36' \
     -H 'Content-Type: application/json;charset=UTF-8' \
     -H 'Origin: http://10.26.20.220:4010' \
     -H 'Referer: http://10.26.20.220:4010/upstream/401541446110282671/edit' \
     -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7' \
     --data-raw '{"name":"xxx","type":"roundrobin","pass_host":"node","scheme":"https","timeout":{"connect":6,"send":6,"read":6},"keepalive_pool":{"size":320,"idle_timeout":60,"requests":1000},"nodes":{"somehost.com":1}}' \
     --compressed \
     --insecure
   ```


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org