# Discourse unterstützt proxy\_protocol nicht

**URL:** <https://meta.discourse.org/t/discourse-not-support-proxy-protocol/211311>\
**Category:** Self-hosting\
**Created:** [7. Dezember 2021 um 02:43 UTC](https://meta.discourse.org/t/discourse-not-support-proxy-protocol/211311 "2021-12-07T02:43:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![shihuang214](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shihuang214/32/242738_2.png) [@shihuang214](https://meta.discourse.org/u/shihuang214)\
**Post date:** [7. Dezember 2021 um 02:43 UTC](https://meta.discourse.org/t/discourse-not-support-proxy-protocol/211311/1 "2021-12-07T02:43:24Z")

</div>

Wenn Discourse nach haproxy läuft, verwenden wir jetzt proxy\_protocol, aber Discourse unterstützt es derzeit nicht.  
nginx-Dokumentation:

> **[Accepting the PROXY Protocol | NGINX Documentation](https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol)**

Ich habe versucht, dieses Problem mit einer Vorlage zu beheben, aber da die meisten auf ähnlichen Vorlagen basieren, ist dies möglicherweise keine gute Lösung.  
PR dafür:

> <https://github.com/discourse/discourse_docker/pull/583>
>
> https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol

---

_[View the full topic](https://meta.discourse.org/t/discourse-not-support-proxy-protocol/211311)._
