# Añadir una página sin conexión para mostrar cuando Discourse se está reconstruyendo o iniciando

**URL:** <https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238>\
**Category:** Sysadmins\
**Tags:** configuring, how-to, advanced-setup\
**Created:** [4 Junio, 2016 08:41 UTC](https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238 "2016-06-04T08:41:48Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [10 Junio, 2016 08:12 UTC](https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238/15 "2016-06-10T08:12:40Z")

</div>

I tried to research that and think this is a Discourse bug.

Enabling `use https` should cause Discourse to only use HTTPS URLs, but neither [the Github authenticator](https://github.com/discourse/discourse/blob/be3a5a56ccc284b352aa65080fc6b955f73cc72a/lib/auth/github_authenticator.rb), [the Google authenticator](https://github.com/discourse/discourse/blob/be3a5a56ccc284b352aa65080fc6b955f73cc72a/lib/auth/google_oauth2_authenticator.rb) nor [their superclass](https://github.com/discourse/discourse/blob/be3a5a56ccc284b352aa65080fc6b955f73cc72a/lib/auth/authenticator.rb) inspect this site setting. Omniauth tries to detect SSL like this:

> <https://github.com/omniauth/omniauth/blob/1cc1cf4b2821a7d2a4a376a5ca93c61b6bd8b5f1/lib/omniauth/strategy.rb#L499>

Adding

```nginx
proxy_set_header X-Forwarded-Proto $scheme;

```

to the nginx configuration might work around that, but I’m not sure this is passed on by Discourse’s internal nginx and cannot test that right now.

I _do_ know that SSO is not affected.

---

_[View the full topic](https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238)._
