# A tag de proxy X-Forwarded-For não é reconhecida pelo Discourse?

**URL:** <https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961>\
**Category:** Self-hosting\
**Created:** [Janeiro 13, 2018, 10:35pm UTC](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961 "2018-01-13T22:35:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Anil\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@Anil\_Gupta](https://meta.discourse.org/u/Anil_Gupta)\
**Post date:** [Janeiro 19, 2018, 1:19am UTC](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961/8 "2018-01-19T01:19:59Z")

</div>

That’s the problem.  
Its a google load balance server and it does not allow doing it at the load balane server.

They advise to manage the http to https redirection using http\_x\_forwarded\_proto at the end server.

I have tried the same thing with Apache server running wordpress and this same rule works in similar set-up.

As a matter of fact, even Amazon’s ELB suggests the same solution.

---

_[View the full topic](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961)._
