title: AWS S3 get images via Proxy - PHP
body: <p>I have a bucket at S3 where i have uploaded the images. 
  Now i am fetching the images using AWS - SDK. Now i want to bypass the image via Proxy </p>
  
  <pre><code>$client = new Aws\S3\S3Client([
              'version'     =&gt; 'latest',
              'region'      =&gt; 'us-east-1',
              'debug'       =&gt; TRUE, // enable debug info
              'stats'       =&gt; TRUE, // enable stats
              '@http'  =&gt; [
              'proxy' =&gt; 'http://192.168.16.1:10'
              ],
              'credentials' =&gt; [
                  'key'    =&gt; base64_decode(KEY),
                  'secret' =&gt; base64_decode(SECRET)
              ]
          ]);
  </code></pre>
  
  <p>Here is my bucket settings  and when i did <a href="https://www.wireshark.org/#download" rel="noreferrer">wireshark</a> it still showing AWS ip address in request. </p>
  
  <p>Can anybody tell me how to bypass S3 images with proxy. </p>