ssl - Cloudfront returning 502 errors -
ssl - Cloudfront returning 502 errors -
we're in process of moving our server environments aws cloud hosting provider. have been using cloudfront serve our static content, when attempting retrieve static content cloudfront in our new aws setup, we're getting 502 bad gateway errors.
i've done fair bit of googling around solutions , have implemented suggestions following...
cloudfront custom-origin distribution returns 502 "error request not satisfied." urls
but still no luck in resolving 502 errors. i've double checked ssl cert , valid.
below nginx ssl config , sample request / response
our current ssl settings in nginx
nginx 1.6.1
ssl_protocols tlsv1 tlsv1.1 tlsv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers ecdh+aesgcm:ecdh+aes256:ecdh+aes128:dh+3des:rsa+3des:rc4:high:!adh:!aecdh:!md5;
sample request / response
request
get /assets/javascripts/libs/lightbox/2.7.1/css/lightbox.css?v=20141017003139 http/1.1
host: d2isui0svzvtem.cloudfront.net
connection: keep-alive
pragma: no-cache
cache-control: no-cache
accept: text/css,/;q=0.1
user-agent: mozilla/5.0 (macintosh; intel mac os x 10_9_5) applewebkit/537.36 (khtml, gecko) chrome/38.0.2125.104 safari/537.36
accept-encoding: gzip,deflate,sdch
accept-language: en-us,en;q=0.8
response
http/1.1 502 bad gateway
content-type: text/html
content-length: 472
connection: keep-alive
server: cloudfront
date: fri, 17 oct 2014 00:43:17 gmt
x-cache: error cloudfront
via: 1.1 f25f60d7eb31f20a86f3511c23f2678c.cloudfront.net (cloudfront)
x-amz-cf-id: lbd3b9sajvceltpgsezprw7x6vm749sevirz5nzusj6ljjhkmualng==
trying next yields same result...
wget https://d2isui0svzvtem.cloudfront.net/assets/javascripts/libs/lightbox/2.7.1/css/lightbox.css
any ideas on going on here?
thanks in advance.
ssl amazon-web-services nginx docker amazon-cloudfront
Comments
Post a Comment