# يعمل HTTPS بشكل مثالي، لكن عنوان URL الخاص بـ HTTP يعرض صفحة الترحيب بـ 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:** [25 يناير 2021، 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:** 12

<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:** [25 يناير 2021، 8:35م UTC](https://meta.discourse.org/t/https-works-perfectly-but-http-url-displays-nginx-welcome-page-and-doesnt-redirect/177195/12 "2021-01-25T20:35:31Z")

</div>

> [@ajmuir](#):
>
> [example.com](http://example.com)

إذن، هذا لا يعرض لي صفحة الترحيب الخاصة بـ nginx على الإطلاق.

هل يمكنك تجربتها على جهاز آخر مثل هاتفك؟

```plaintext
curl -I example.com -L
HTTP/1.1 301 Moved Permanently
Server: nginx/1.18.0
Date: Mon, 25 Jan 2021 20:35:21 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive
Location: https://example.com/

HTTP/2 200 
server: nginx
date: Mon, 25 Jan 2021 20:35:22 GMT
content-type: text/html; charset=utf-8
vary: Accept-Encoding
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-download-options: noopen
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
x-discourse-route: finish_installation/index
cache-control: no-cache, no-store
content-security-policy: base-uri 'none'; object-src 'none'; script-src https://example.com/logs/ https://example.com/sidekiq/ https://example.com/mini-profiler-resources/ https://example.com/assets/ https://example.com/brotli_asset/ https://example.com/extra-locales/ https://example.com/highlight-js/ https://example.com/javascripts/ https://example.com/plugins/ https://example.com/theme-javascripts/ https://example.com/svg-sprite/; worker-src 'self' https://example.com/assets/ https://example.com/brotli_asset/ https://example.com/javascripts/ https://example.com/plugins/
x-request-id: 8755d4fa-387f-4509-8709-b6075f274d09
x-runtime: 0.026020
strict-transport-security: max-age=31536000

```

---

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