# Collabora HAproxy

**URL:** <https://help.nextcloud.com/t/collabora-haproxy/93041>\
**Category:** 📄 Office\
**Tags:** reverseproxy, collabora-online\
**Created:** [September 23, 2020, 3:42pm UTC](https://help.nextcloud.com/t/collabora-haproxy/93041 "2020-09-23T15:42:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lebernd](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lebernd/32/18927_2.png) [@lebernd](https://help.nextcloud.com/u/lebernd)\
**Post date:** [September 23, 2020, 3:42pm UTC](https://help.nextcloud.com/t/collabora-haproxy/93041/1 "2020-09-23T15:42:03Z")

</div>

Hello together,

I have difficulties running a collabora/code-docker setup behind haproxy (opnsense).  
I’ve had it running for a short time with a solution which is here in the forum:

- binding code-docker to a lan/dmz-interface and configure haproxy to use ip and port (9980) from code-docker as backend-server.

It seams to be the logical move since even in the first place there was a apache vhost as proxy. I havn’t found a step by step to configure collabora/code with haproxy as there are some with apache and ngnix.

Help is much appreciated,  
Bernd

---

<div class="post-metadata">

**Author:** ![lebernd](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lebernd/32/18927_2.png) [@lebernd](https://help.nextcloud.com/u/lebernd)\
**Post date:** [October 27, 2020, 10:53am UTC](https://help.nextcloud.com/t/collabora-haproxy/93041/2 "2020-10-27T10:53:10Z")

</div>

Solved - as always: don’t just set up the 19 right places when there are 20.

So components:

- unbound (for redirecting lan to lan with external domain - not every setup will require this)
- haproxy
- code docker
- nextcloud integration
- opnsense firewall

I’m running collabora/code and nextcloud from the same debian host in dmz. But I forgot to allow the host to reach the haproxy frontend-ip on lan…

Maybe it would be possible, or even better, to use the unbound overwrite just for the nextcloud-lan and point docker-code to the haproxy frontend-ip on dmz?!

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 8:33am UTC](https://help.nextcloud.com/t/collabora-haproxy/93041/3 "2024-12-12T08:33:57Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 9:57am UTC](https://help.nextcloud.com/t/collabora-haproxy/93041/4 "2024-12-12T09:57:42Z")

</div>


