Har-Kuun opened a new issue #7055:
URL: https://github.com/apache/trafficserver/issues/7055


   As title suggests, I'm following the [guide 
here](https://docs.trafficserver.apache.org/en/8.0.x/admin-guide/storage/index.en.html#pushing-an-object-into-the-cache)
 to push content into cache.
   
   The PUSH method option has been enabled in `records.config`, and local IP is 
whitelisted in `ip_allow.config`.  ATS server is in reverse proxy mode, with 
https://example.com mapping the origin server IP.
   
   The first step, `curl -s -i -o /path/to/file 
"https://example.com/push_me.html"` runs smoothly.
   
   The second step in the guide, `curl -x -s -o /dev/null -X PUSH --data-binary 
/path/to/file "https://example.com/push_me.html"`, are causing probelms.  
Directly running this command throws a `curl: (5) Could not resolve proxy:` 
error due to the `-x` option here.  Removing the -x option will lead to 400 Bad 
Request response from the origin server.  I'm wondering what is the correct way 
to do this.
   
   Thank you!


----------------------------------------------------------------
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:
[email protected]


Reply via email to