# Collabora not working with nginx proxy

**URL:** <https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995>\
**Category:** Installation & Configuration\
**Tags:** english-en\
**Created:** [April 1, 2022, 1:07pm UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995 "2022-04-01T13:07:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![shii](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@shii](https://forum.collaboraonline.com/u/shii)\
**Post date:** [April 1, 2022, 1:07pm UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/1 "2022-04-01T13:07:00Z")

</div>

I have pulled the collabora image from docker and using django for wopi. I have configured reverse proxy in nginx as mentioned in collabora docs. I am not able to open documents from collabora and hit is not going in django.

Please find below response of url (/hosting/capabilities) from browser

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/6e11ccdbc91a7b7ce598b44af1c0603788faf3de.png)

---

<div class="post-metadata">

**Author:** ![bearon](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bearon](https://forum.collaboraonline.com/u/bearon)\
**Post date:** [April 1, 2022, 3:50pm UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/2 "2022-04-01T15:50:55Z")

</div>

The `/hosting/capabilities` response looks fine.  
Would be good if you could set log level to `trace`, try opening a document using your WOPI setup, then check the logs in the container if you see requests coming from the WOPI host, and what happens afterwards.

---

<div class="post-metadata">

**Author:** ![shii](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@shii](https://forum.collaboraonline.com/u/shii)\
**Post date:** [April 3, 2022, 6:24am UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/3 "2022-04-03T06:24:10Z")

</div>

When I open a document by hitting url, no logs are coming in django.

---

<div class="post-metadata">

**Author:** ![bearon](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bearon](https://forum.collaboraonline.com/u/bearon)\
**Post date:** [April 3, 2022, 11:47pm UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/4 "2022-04-03T23:47:54Z")

</div>

Not django, the logs of the CODE container.

---

<div class="post-metadata">

**Author:** ![shii](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@shii](https://forum.collaboraonline.com/u/shii)\
**Post date:** [April 5, 2022, 4:49am UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/5 "2022-04-05T04:49:10Z")

</div>

In that case, I cannot change as I have pulled the image directly. I tried to apply logs inside the container but it needs root permission. So I think I need to download it from source. Please let me know if I am wrong.

---

<div class="post-metadata">

**Author:** ![bearon](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bearon](https://forum.collaboraonline.com/u/bearon)\
**Post date:** [April 7, 2022, 1:39am UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/6 "2022-04-07T01:39:49Z")

</div>

You can get the logs via: `docker logs <container id>`

---

<div class="post-metadata">

**Author:** ![shii](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@shii](https://forum.collaboraonline.com/u/shii)\
**Post date:** [April 7, 2022, 4:51am UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/7 "2022-04-07T04:51:15Z")

</div>

No I am getting any logs when I am hitting wopi url in collabora container logs.

---

<div class="post-metadata">

**Author:** ![shii](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@shii](https://forum.collaboraonline.com/u/shii)\
**Post date:** [April 7, 2022, 6:24pm UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/8 "2022-04-07T18:24:24Z")

</div>

Hi,

I can see that collabora is fine, but it is not opening the wopi url. When I hit collabora with WOPISrc it is giving not found. Also I checked django and collabora container logs.  
No information is coming in collabora container logs  
No request is coming in django logs and connection reset by peer is coming again and again.

---

<div class="post-metadata">

**Author:** ![rash419](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/rash419/32/1157_2.png) [@rash419](https://forum.collaboraonline.com/u/rash419)\
**Post date:** [July 12, 2022, 10:18am UTC](https://forum.collaboraonline.com/t/collabora-not-working-with-nginx-proxy/995/9 "2022-07-12T10:18:18Z")

</div>

@shii does it work now ? do you need any help ? If it still doesnot work can you share the docker logs  
using `docker logs <container_name>` ? I tried setting up CODE + nextcloud + nginx reverse proxy and everything works for me : )
