# Looking for help with configuring Apache2 & coolwsd.xml for Proxy

**URL:** <https://forum.collaboraonline.com/t/looking-for-help-with-configuring-apache2-coolwsd-xml-for-proxy/3303>\
**Category:** Installation & Configuration\
**Created:** [January 8, 2025, 6:18pm UTC](https://forum.collaboraonline.com/t/looking-for-help-with-configuring-apache2-coolwsd-xml-for-proxy/3303 "2025-01-08T18:18:55Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [January 20, 2025, 5:39am UTC](https://forum.collaboraonline.com/t/looking-for-help-with-configuring-apache2-coolwsd-xml-for-proxy/3303/9 "2025-01-20T05:39:49Z")

</div>

Hii @GJSchaller

> [@GJSchaller](#):
>
> (Base URL)/cool - HTTP Error 400
> 
> (Base URL)/cool/adminws - HTTP Error 400

the `HTTP 400` errors for `/cool` and `/cool/adminws` might not necessarily indicate a problem in your setup

> [@GJSchaller](#):
>
> Collabora works fine when tested from my local network at home - I can browse Nextcloud and open a file to edit. I’m not sure if I need to fix the two HTTP 400 errors before trying the proxy next?

If local access is stable:

- Proceed with proxy setup. Typically, you’ll use something like **NGINX** or **Traefik**.
- Ensure the proxy correctly handles WebSocket connections (important for Collabora).
- Use a valid SSL certificate, either self-signed for testing or issued by Let’s Encrypt for production. [[Using letsencrypt](https://forum.collaboraonline.com/t/using-letsencrypt/874)]

Once the proxy is configured:

- Confirm the `/hosting/discovery` endpoint is accessible through the proxied URL.
- Test editing files in Nextcloud via the proxied URL.

> **[Collabora integration guide](https://help.nextcloud.com/t/collabora-integration-guide/151879)**
>
> Nextcloud integrates functionality to edit office documents online (even collaborative - meaning multiple users can work on the same document at the same time). This integration primarily happens with Collabora Online, but other integrations using...

[https://collabora-online-for-nextcloud.readthedocs.io/en/latest/install/](https://collabora-online-for-nextcloud.readthedocs.io/en/latest/install/)

Note:

- Ensure the Collabora container is reachable from the proxy (use Docker’s network or map the host IP).
- Add any necessary headers to the proxy configuration for WebSocket support

Thanks,  
Darshan

---

_[View the full topic](https://forum.collaboraonline.com/t/looking-for-help-with-configuring-apache2-coolwsd-xml-for-proxy/3303)._
