# Discussão com proxy reverso NginX - Não é possível fazer login

**URL:** <https://meta.discourse.org/t/discouse-with-nginx-reverse-proxy-cannot-log-in/205216>\
**Category:** Self-hosting\
**Created:** [5 Outubro , 2021 01:26 UTC](https://meta.discourse.org/t/discouse-with-nginx-reverse-proxy-cannot-log-in/205216 "2021-10-05T01:26:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)\
**Post date:** [5 Outubro , 2021 05:43 UTC](https://meta.discourse.org/t/discouse-with-nginx-reverse-proxy-cannot-log-in/205216/2 "2021-10-05T05:43:32Z")

</div>

Você esqueceu de adicionar um cabeçalho:

`proxy_set_header X-Forwarded-Proto https;`

resolverá esse problema.

---

_[View the full topic](https://meta.discourse.org/t/discouse-with-nginx-reverse-proxy-cannot-log-in/205216)._
