# Wrong protocol with short-url

**URL:** https://meta.discourse.org/t/wrong-protocol-with-short-url/201878
**Category:** Support
**Created:** [August 27, 2021, 7:26am UTC](https://meta.discourse.org/t/wrong-protocol-with-short-url/201878 "2021-08-27T07:26:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [August 27, 2021, 7:26am UTC](https://meta.discourse.org/t/wrong-protocol-with-short-url/201878/1 "2021-08-27T07:26:41Z")

</div>

If S3 URL is set to use `http` instead of `https`…

But S3 CDN uses `https`…

`uploads/short-url` links still map to

1. the S3 URL
2. but with `https` protocol

Shouldn’t it map to the CDN instead of the S3 URL?

On the other hand, if mapping to the S3 URL, at least should use the specified protocol?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 27, 2021, 2:24pm UTC](https://meta.discourse.org/t/wrong-protocol-with-short-url/201878/2 "2021-08-27T14:24:38Z")

</div>

As there is no http-only endpoint for AWS S3, and that is the only object storage officially supported marking this as “won’t fix”.

Can’t you add TLS to your S3-like proxy thing?

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [August 28, 2021, 3:13am UTC](https://meta.discourse.org/t/wrong-protocol-with-short-url/201878/3 "2021-08-28T03:13:27Z")

</div>

> [@Falco](#):
>
> Can’t you add TLS to your S3-like proxy thing?

Yes, but that requires a certificate. I was just being lazy…

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [August 28, 2021, 9:59am UTC](https://meta.discourse.org/t/wrong-protocol-with-short-url/201878/4 "2021-08-28T09:59:09Z")

</div>

> [@Falco](#):
>
> As there is no http-only endpoint for AWS S3, and that is the only object storage officially supported marking this as “won’t fix”.

Alternatively, is it possible for `uploads/short-url` to map to the CDN url instead of the S3 url?
