# HTTPSは正常に動作しますが、HTTP URLではNGINXのウェルカムページが表示され、リダイレクトされません。

**URL:** <https://meta.discourse.org/t/https-works-perfectly-but-http-url-displays-nginx-welcome-page-and-doesnt-redirect/177195>\
**Category:** Self-hosting\
**Created:** [2021 年 1 月 25 日午後 5:46 UTC](https://meta.discourse.org/t/https-works-perfectly-but-http-url-displays-nginx-welcome-page-and-doesnt-redirect/177195 "2021-01-25T17:46:32Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ajmuir](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@ajmuir](https://meta.discourse.org/u/ajmuir)\
**Post date:** [2021 年 1 月 25 日午後 8:20 UTC](https://meta.discourse.org/t/https-works-perfectly-but-http-url-displays-nginx-welcome-page-and-doesnt-redirect/177195/7 "2021-01-25T20:20:00Z")

</div>

> [@Falco](#):
>
> curl -I localhost

HTTP/1.1 301 Moved Permanently  
**Server** : nginx/1.18.0  
**Date** : Mon, 25 Jan 2021 20:18:00 GMT  
**Content-Type** : text/html  
**Content-Length** : 169  
**Connection** : keep-alive  
**Location** : [https://example.com](https://example.com)

これは、すでにインストールされていたということでしょうか？（ごめんなさい、私はまだ初心者なので）

---

_[View the full topic](https://meta.discourse.org/t/https-works-perfectly-but-http-url-displays-nginx-welcome-page-and-doesnt-redirect/177195)._
