# Apple Touch Icon が HTTPS ではなく HTTP で読み込まれるのはなぜですか？

**URL:** <https://meta.discourse.org/t/why-is-the-apple-touch-icon-loaded-via-http-instead-of-https/104501>\
**Category:** Product Support\
**Created:** [2018 年 12 月 17 日午後 9:53 UTC](https://meta.discourse.org/t/why-is-the-apple-touch-icon-loaded-via-http-instead-of-https/104501 "2018-12-17T21:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![Graphiwiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/graphiwiz/32/126393_2.png) [@Graphiwiz](https://meta.discourse.org/u/Graphiwiz)\
**Post date:** [2018 年 12 月 19 日午前 1:46 UTC](https://meta.discourse.org/t/why-is-the-apple-touch-icon-loaded-via-http-instead-of-https/104501/31 "2018-12-19T01:46:40Z")

</div>

> [@Graphiwiz](#):
>
> **NEW ISSUE** : Now I’ve got two different websites: the www doesn’t redirect to the non-www version like it did before for whatever reason.

Fixed by adding this 301 redirect to my `app.yml` hooks section:

```
- file:
    path: /etc/nginx/conf.d/discourse_redirect_1.conf
    contents: |
      server {
        listen 443;
        server_name www.community.example.com;
        return 301 $scheme://community.example.com$request_uri;
      }

```

---

_[View the full topic](https://meta.discourse.org/t/why-is-the-apple-touch-icon-loaded-via-http-instead-of-https/104501)._
