Skip to content

Commit

Permalink
Use S3-direct URLs for image resources.
Browse files Browse the repository at this point in the history
Since we don't currently have valid SSL certs on Akamai, we need to rely
on S3's certs for its own hostnames.

Fixes #6.
  • Loading branch information
spladug committed Aug 26, 2013
1 parent b75da88 commit 352f304
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 403.html
Expand Up @@ -6,6 +6,6 @@
h2,h3{color:#222;font:bold 200%/100px sans-serif;margin:0}
h3{color:#777;font:normal 150% sans-serif}
</style>
<img src=//www.redditstatic.com/youbrokeit3.png alt="">
<img src=//s3.amazonaws.com/redditstatic/youbrokeit3.png alt="">
<h2>you appear to be a bad robot</h2>
<h3>check out <a href="http://github.com/reddit/reddit/wiki/API"> the rules for robots</a>. thanks.
2 changes: 1 addition & 1 deletion 403.nossl.html
Expand Up @@ -6,7 +6,7 @@
h2,h3{color:#222;font:bold 200%/100px sans-serif;margin:0}
h3{color:#777;font:normal 150% sans-serif}
</style>
<img src=//www.redditstatic.com/reddit404c.png alt="">
<img src=//s3.amazonaws.com/redditstatic/reddit404c.png alt="">
<h2>you're trying to access a secure page without using SSL.</h2>
<h3>If you're suddenly getting this and you don't know why, contact us at <a
href="mailto:broken [at] reddit (dot) com">broken [at] reddit (dot) com</a>.
Expand Down
2 changes: 1 addition & 1 deletion 502.html
Expand Up @@ -6,6 +6,6 @@
h2,h3{color:#222;font:bold 200%/100px sans-serif;margin:0}
h3{color:#777;font:normal 150% sans-serif}
</style>
<img src=//www.redditstatic.com/youbrokeit1.png alt="">
<img src=//s3.amazonaws.com/redditstatic/youbrokeit1.png alt="">
<h2>we took too long to make this page for you</h2>
<h3>try again and hopefully we will be fast enough this time.
2 changes: 1 addition & 1 deletion 503.html
Expand Up @@ -6,6 +6,6 @@
h2,h3{color:#555;font:bold 200%/100px sans-serif;margin:0}
h3{color:#777;font:normal 150% sans-serif}
</style>
<img src=//www.redditstatic.com/heavy-load.png alt="">
<img src=//s3.amazonaws.com/redditstatic/heavy-load.png alt="">
<h2>we took too long to make this page for you</h2>
<h3>try again and hopefully we will be fast enough this time.
2 changes: 1 addition & 1 deletion 504.ad.html
Expand Up @@ -3,4 +3,4 @@
<style>
*{margin:0;padding:0}
</style>
<img src=//www.redditstatic.com/ads/nBLi0LMkQY0.png alt="">
<img src=//s3.amazonaws.com/redditstatic/ads/nBLi0LMkQY0.png alt="">
2 changes: 1 addition & 1 deletion 504.down.html
Expand Up @@ -6,6 +6,6 @@
h2,h3{color:#555;font:bold 200%/100px sans-serif;margin:0}
h3{color:#777;font:normal 150% sans-serif}
</style>
<img src=//www.redditstatic.com/heavy-load.png alt="">
<img src=//s3.amazonaws.com/redditstatic/heavy-load.png alt="">
<h2>we took too long to make this page for you</h2>
<h3>try again and hopefully we will be fast enough this time.
2 changes: 1 addition & 1 deletion 504.html
Expand Up @@ -6,6 +6,6 @@
h2,h3{color:#555;font:bold 200%/100px sans-serif;margin:0}
h3{color:#777;font:normal 150% sans-serif}
</style>
<img src=//www.redditstatic.com/heavy-load.png alt="">
<img src=//s3.amazonaws.com/redditstatic/heavy-load.png alt="">
<h2>we took too long to make this page for you</h2>
<h3>try again and hopefully we will be fast enough this time.
2 changes: 1 addition & 1 deletion 504.pay.reddit.com.html
Expand Up @@ -6,7 +6,7 @@
h2,h3{color:#222;font:bold 200%/100px sans-serif;margin:0}
h3{color:#777;font:normal 150% sans-serif}
</style>
<img src=//www.redditstatic.com/reddit404a.png alt="">
<img src=//s3.amazonaws.com/redditstatic/reddit404a.png alt="">
<h2>Full site SSL is not yet supported!</h2>
<h3>You're getting this because you're accessing pay.reddit.com while not
using a secure connection. You were probably redirected here from another
Expand Down

0 comments on commit 352f304

Please sign in to comment.