# http로 제공되는 남은 이미지 두 개 때문에 https로 전환하지 못하겠습니다. 도와주세요.

**URL:** https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647
**Category:** Support
**Created:** [3월 17, 2020, 9:32오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647 "2020-03-17T21:32:17Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![amatthews](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amatthews/32/173173_2.png) [@amatthews](https://meta.discourse.org/u/amatthews)
#### Post date: [3월 17, 2020, 9:32오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/1 "2020-03-17T21:32:17Z")

</div>

이전 팀 멤버에게서 Discourse 포럼을 인수받았습니다. 마케팅 부서에서 요청한 여러 가지 변경 사항을 적용했지만, 마지막 두 이미지는 어디에서도 찾을 수 없습니다. 커스터마이징 섹션을 몇 시간 동안 샅샅이 살펴봐도 나오지 않습니다.

```
<link rel="icon" type="image/png" href="…32x32.png">
<link rel="apple-touch-icon" type="image/png" href="…180x180.png">

```

두 링크 태그는 모두 다음 줄 바로 뒤에 출력됩니다:

```
<meta name="generator" content="Discourse 2.4.1 - https://github.com/discourse/discourse version ea7388014671cb3c103bcc9082df586de1b0edad">

```

이 두 이미지를 https로 변경하려면 어떻게 해야 하나요?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [3월 17, 2020, 9:53오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/2 "2020-03-17T21:53:38Z")

</div>

https를 활성화하는 방법을 확인해 주실 수 있나요?

https를 활성화한 후 자산을 다시 업로드하면 자동으로 수정됩니다.

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [3월 17, 2020, 10:23오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/3 "2020-03-17T22:23:10Z")

</div>

모든 브랜딩 자산은 설정 → 브랜딩  
`/admin/site_settings/category/branding`

에 있습니다.

favicon(32x32)과 Apple touch(180x180)는 목록에서 각각 7번째와 8번째 위치에 있습니다. 기존 파일을 삭제하고 새 파일을 다시 업로드하면 올바른 URL이 설정될 수 있습니다.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 17, 2020, 10:26오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/4 "2020-03-17T22:26:58Z")

</div>

또한 `/wizard`에서 설정 마법사를 다시 실행하면 수정할 수 있습니다. @omarfilip이 맞습니다. 기본적으로 해당 이미지들을 다시 업로드하면 됩니다.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [3월 17, 2020, 11:17오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/5 "2020-03-17T23:17:36Z")

</div>

Force https를 활성화하면 이 URL들이 자동으로 https로 전환될 수 있을까요?  
여러 클라이언트의 설치 환경에서 이 문제를 겪었습니다. 그렇게까지 짜증나는 문제는 아니지만, 어딘가에 코드 한 줄로 해결할 수 있다면 좋겠습니다.

---

<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: [3월 17, 2020, 11:37오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/6 "2020-03-17T23:37:05Z")

</div>

이것이 `discourse-setup`의 기본값을 HTTPS로 변경한 이유 중 하나입니다. 선택 사항으로 두었기 때문에 대부분의 사용자가 이를 건너뛰고 나중에 다시 되돌아와야 했습니다.

---

<div class="post-metadata">

### Author: ![amatthews](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amatthews/32/173173_2.png) [@amatthews](https://meta.discourse.org/u/amatthews)
#### Post date: [3월 18, 2020, 2:51오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/7 "2020-03-18T14:51:01Z")

</div>

여러분, 답변 주셔서 감사합니다.

결국 `force_https`를 활성화하고 이미지를 다시 업로드했는데, 이제 https를 통해 로드됩니다. 감사합니다!

포럼을 처음 관리하게 된 사용자의 피드백:

이미지 참조를 수정하라고 사용자에게 설정 마법사를 거치게 하는 것은 UX 측면에서 좋지 않다고 느꼈습니다. 기존 설정 중 하나를 실수로 변경할까 봐 내내 긴장했습니다. 대신 그 부분(이미지 참조)에 대해 세밀한 컨트롤을 제공하는 것이 더 좋습니다(실제로 그렇게 되어 있더군요). 그래서 저는 그 컨트롤을 사용했습니다.

또한, 왜 처음부터 이미지를 다시 업로드해야 했는지 궁금합니다. 단순히 파일 참조만 저장해 두고 `force_https` 설정에 따라 프로토콜을 출력하면 되지 않나요? 아마도 제가 `force_https` 설정을 변경한 후 이미지를 다시 업로드하고 테스트했기 때문에 실제로 그렇게 하고 계신 것일 수도 있습니다.

어쨌든, 여러분은 이 질문에 빠르게 대응해 주셨고 정말 감사드립니다. 모두 안전하세요.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [3월 18, 2020, 6:24오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/8 "2020-03-18T18:24:59Z")

</div>

Hey @amatthews, 실제로는 여러분이 생각하신 대로 작동하도록 설계되어 있습니다:

> [@amatthews](#):
>
> 파일 참조를 저장하고 force\_https 설정에 따라 프로토콜을 출력합니다.

force\_https를 활성화하면 모든 Discourse 자산이 https를 통해 로드됩니다.

이미지를 변경/재업로드하기 위해 마법사를 실행할 필요도 없습니다. 이는 관리자 페이지를 통해 수행할 수 있습니다.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [3월 18, 2020, 6:33오후 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/9 "2020-03-18T18:33:37Z")

</div>

> [@itsbhanusharma](#):
>
> force\_https를 활성화하면 모든 discourse 자산이 https를 통해 로드됩니다.

과거에는 확실히 그렇지 않았습니다. @falco가 언급한 위의 변경 사항 이전에는 이 질문을 꽤 정기적으로 받았습니다. 간단한 검색을 해보니, 해당 PR이 도입된 이후 이 질문의 빈도가 급격히 감소했습니다.

설치 환경의 대부분은 Let’s Encrypt를 기본 설정 그대로 사용하면 정상적으로 작동하며, 리버스 프록시나 네트워크 규칙을 복잡하게 설정하는 경우에만 문제가 발생합니다.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [4월 15, 2024, 2:32오전 UTC](https://meta.discourse.org/t/two-remaining-images-served-via-http-are-preventing-me-from-moving-to-https-help/144647/11 "2024-04-15T02:32:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
