# Twitter, Github and normal username and password logins not working after upgrade

**URL:** <https://meta.discourse.org/t/twitter-github-and-normal-username-and-password-logins-not-working-after-upgrade/51854>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2016 年10 月 21 日 12:58 UTC](https://meta.discourse.org/t/twitter-github-and-normal-username-and-password-logins-not-working-after-upgrade/51854 "2016-10-21T12:58:57Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

作者： ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
发布日期： [2016 年10 月 22 日 18:00 UTC](https://meta.discourse.org/t/twitter-github-and-normal-username-and-password-logins-not-working-after-upgrade/51854/35 "2016-10-22T18:00:51Z")

</div>

Just an update to say I followed @Falco’s advice:

> [@Falco](#):
>
> proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for;  
> proxy\_set\_header X-Forwarded-Proto https;

and added:

`reqadd X-Forwarded-Proto:\ https if { ssl_fc }`

to the `frontend http-in` in Haproxy and it seems to be working now 👍

(I already had `option forwardfor` which is the same as `X-Forwarded-For`)

Thanks everyone! 🙂

---

_[View the full topic](https://meta.discourse.org/t/twitter-github-and-normal-username-and-password-logins-not-working-after-upgrade/51854)._
