title: carrierwave authenticated_urls and rails 4
body: <p>I want to use <code>fog_authenticated_url_expiration</code></p>
  
  <pre><code> def fog_public
      false
    end
  </code></pre>
  
  <p>It works great, however because of S3's issue with subdomains and dots (.) in bucket names. My path has SSL warnings and I can't change the bucket name to be otherwise to keep my routes working correctly.</p>
  
  <p><a href="https://stackoverflow.com/questions/3048236/amazon-s3-https-ssl-is-it-possible">Amazon S3 - HTTPS/SSL - Is it possible?</a></p>
  
  <p>The default carrierwave path for authenticated urls produces SSL warnings because of the subdomain:</p>
  
  <pre><code>https://subdomain.domain.com.s3-eu-west-1.amazonaws.com/uploads/quiz/131/question_sheet/Q286.pdf?AWSAccessKeyId=AKIAJKOSTQ6UXXLEWIUQ&amp;Signature=xdHUEiNjEZxftVxr5rw7uHaMmwk%3D&amp;Expires=1387662760
  </code></pre>
  
  <p>Whereas this formula would work fine:</p>
  
  <pre><code>https://s3-eu-west-1.amazonaws.com/subdomain.domain.com/uploads/quiz/131/question_sheet/Q286.pdf?AWSAccessKeyId=AKIAJKOSTQ6UXXLEWIUQ&amp;Signature=xdHUEiNjEZxftVxr5rw7uHaMmwk%3D&amp;Expires=1387662760
  </code></pre>
  
  <p>How can I override the path style in carrierwave to use the second one to avoid SSL issues?</p>