title: Imagemagick - change policy.xml on Heroku
body: <p>I'm trying to access images via https on Heroku with Imagemagick. How can I change the policies (in policy.xml) on Heroku?</p>
  
  <p>Heroku made an "ImageMagick security update" in May, 2016: <a href="https://devcenter.heroku.com/changelog-items/891" rel="nofollow noreferrer">https://devcenter.heroku.com/changelog-items/891</a></p>
  
  <p>I can see the policy list, after typing <code>heroku run bash</code> and <code>convert -list policy</code>:</p>
  
  <p><code>Path: [built-in]
    Policy: Undefined
      rights: None
  </code></p>
  
  <p><code>Path: /etc/ImageMagick/policy.xml
  [...]
    Policy: Coder
      rights: None 
      pattern: HTTPS
  [...]
  </code></p>
  
  <p>How can I change the policy?</p>
  
  <p><strong>update 1:</strong> this is the error in the log file:</p>
  
  <p><code>Command failed: convert.im6: not authorized `//scontent-fra3-1.xx.fbcdn.net/v/t1.0-9/13962741_132344500547278_4974691444630710043_n.jpg?oh=c169b4ffce9e5ce330ee99214cc6b8d5&amp;oe=5880F245'</code></p>