mlibbey commented on issue #8639:
URL: https://github.com/apache/trafficserver/issues/8639#issuecomment-1027068762


   If I'm understanding correctly -- that you want to match all inbound Host: 
headers, and then send that same host: header out to the next hope, perhaps the 
Match-all
   
https://docs.trafficserver.apache.org/admin-guide/files/remap.config.en.html#match-all
   feature of remap.config would work to catch all the inbound Host: headers 
(and put it below any specific remaps you need to exclude), and map it to some 
dummy url ... then use the regex remap plugin
   https://docs.trafficserver.apache.org/admin-guide/plugins/regex_remap.en.html
   to change the origin Host: header. Like
   map / http://localhost/ @plugin=regex_remap.so @plugin=filepath.regex
   with the filepath.regex containing
   (.*) $s://$f$0
   


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