2

내 레일 4 앱은 Amazon S3 버킷을 사용하여 이미지를 저장합니다. 구성이 페이지는 이미지를로드 할 때 내 production.rb 파일이레일 s3 버킷 SSL

config.paperclip_defaults = { 
    :storage => :s3, 
    :s3_credentials => { 
    :bucket => ENV['S3_BUCKET_NAME'], 
    :access_key_id => ENV['AWS_ACCESS_KEY_ID'], 
    :secret_access_key => ENV['AWS_SECRET_ACCESS_KEY'] 
    } 
} 

처럼 보이는 꽤 기본이며,이처럼로드 :가 접두사로로드 내가 원하는

http://s3.amazonaws.com/themoderntrunk/designs/photos/000/000/052/large_thumbnail/product12.jpeg?1389721666 

을 HTTPS 다음 SSL없이

https://s3.amazonaws.com/themoderntrunk/designs/photos/000/000/052/large_thumbnail/product12.jpeg?1389721666  

, 내 응용 프로그램은 콘솔에서 경고를 받고있다

he page at 'https://www.themoderntrunk.com/assortments/4/designs/52-product-12' was loaded over HTTPS, but displayed insecure content from 'http://s3.amazonaws.com/themoderntrunk/designs/photos/000/000/049/grid/product9.jpg?1389721643': this content should also be loaded over HTTPS. 

내 production.rb 파일에서 승인되었습니다. config.forse_ssl = true입니다. 내 애플 리케이션은 또한 SSL 인증서가 있습니다.

답변