# Как защитить паролем staging-окружение?

**URL:** <https://meta.discourse.org/t/how-to-password-protect-staging-environment/161641>\
**Category:** Self-hosting\
**Created:** [21.Август.2020 09:25:00 UTC](https://meta.discourse.org/t/how-to-password-protect-staging-environment/161641 "2020-08-21T09:25:00Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [21.Август.2020 13:04:59 UTC](https://meta.discourse.org/t/how-to-password-protect-staging-environment/161641/10 "2020-08-21T13:04:59Z")

</div>

Я включил требование авторизации на тестовом сайте. Это можно сделать с помощью переменной окружения в файле app.yml, чтобы настройка сохранилась.

---

_[View the full topic](https://meta.discourse.org/t/how-to-password-protect-staging-environment/161641)._
